From 8e686a50b321c7d2d154bd6121dd4a1e982f595d Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Thu, 11 Mar 2010 16:56:26 -0800 Subject: [PATCH] Fix memory leak in bluesky_block_fetch. --- bluesky/file.c | 2 ++ 1 file changed, 2 insertions(+) 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. */ -- 2.20.1