[Pkg-owncloud-commits] [owncloud-client] 125/333: Fixed a memory leak in FSEvents file system watcher

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Apr 17 23:16:43 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 902de2dc932a325e4203998256ef0bf8d109b894
Author: Denis Dzyubenko <denis at ddenis.info>
Date:   Mon Feb 17 22:35:54 2014 +0100

    Fixed a memory leak in FSEvents file system watcher
---
 src/mirall/folderwatcher_mac.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mirall/folderwatcher_mac.cpp b/src/mirall/folderwatcher_mac.cpp
index 1737db4..b7da185 100644
--- a/src/mirall/folderwatcher_mac.cpp
+++ b/src/mirall/folderwatcher_mac.cpp
@@ -70,6 +70,7 @@ void FolderWatcherPrivate::startWatching()
                                  kFSEventStreamCreateFlagNone+kFSEventStreamCreateFlagIgnoreSelf
                                  );
 
+    CFRelease(pathsToWatch);
     FSEventStreamScheduleWithRunLoop(stream, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode);
     FSEventStreamStart(stream);
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list