Reference counting bugfix.
authorMichael Vrable <mvrable@cs.ucsd.edu>
Wed, 11 Aug 2010 22:58:39 +0000 (15:58 -0700)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Wed, 11 Aug 2010 22:58:39 +0000 (15:58 -0700)
bluesky/cache.c

index 9287c97..001095b 100644 (file)
@@ -131,7 +131,7 @@ static void flushd_cloud(BlueSkyFS *fs)
         if (log != NULL)
             bluesky_cloudlog_serialize(log, fs);
         bluesky_inode_unref(inode);
-        bluesky_cloudlog_ref(log);
+        bluesky_cloudlog_unref(log);
 
         g_mutex_lock(fs->lock);
     }