projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix memory leak in bluesky_block_fetch.
[bluesky.git]
/
bluesky
/
file.c
diff --git
a/bluesky/file.c
b/bluesky/file.c
index
66f84e7
..
ee4179e
100644
(file)
--- 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_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. */
}
/* Write the given block to cloud-backed storage and mark it clean. */