From: Michael Vrable Date: Fri, 12 Mar 2010 00:56:26 +0000 (-0800) Subject: Fix memory leak in bluesky_block_fetch. X-Git-Url: https://git.vrable.net/?a=commitdiff_plain;h=8e686a50b321c7d2d154bd6121dd4a1e982f595d;p=bluesky.git Fix memory leak in bluesky_block_fetch. --- diff --git a/bluesky/file.c b/bluesky/file.c index 66f84e7..ee4179e 100644 --- a/bluesky/file.c +++ b/bluesky/file.c @@ -230,6 +230,8 @@ void bluesky_block_fetch(BlueSkyFS *fs, BlueSkyBlock *block, bluesky_store_add_barrier(barrier, async); else bluesky_store_async_wait(async); + + bluesky_store_async_unref(async); } /* Write the given block to cloud-backed storage and mark it clean. */