From: Michael Vrable Date: Wed, 2 Feb 2011 18:01:00 +0000 (-0800) Subject: Fix a memory leak. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=9c27547e07bfcadab7584f46185db77c486c1412;p=bluesky.git Fix a memory leak. --- diff --git a/bluesky/log.c b/bluesky/log.c index 03f4fb3..5a16238 100644 --- a/bluesky/log.c +++ b/bluesky/log.c @@ -550,6 +550,8 @@ static void cloudlog_partial_fetch_complete(BlueSkyStoreAsync *async, g_warning("Unable to open and write to cache file %s: %m", cachefile->filename); } + + bluesky_rangeset_free(items); } else { g_print("Error fetching from cloud, retrying...\n"); cloudlog_partial_fetch_start(cachefile, async->start, async->len);