[Pkg-owncloud-commits] [owncloud-client] 55/120: SocketApi: fix small leak (found with valgrind) #3369

Sandro Knauß hefee-guest at moszumanska.debian.org
Mon Aug 24 00:02:44 UTC 2015


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 3238d61ef6ebab54833ec0d25df51391364bd418
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Thu Aug 13 10:42:54 2015 +0200

    SocketApi: fix small leak (found with valgrind) #3369
---
 src/gui/socketapi.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gui/socketapi.cpp b/src/gui/socketapi.cpp
index b51cd18..b238764 100644
--- a/src/gui/socketapi.cpp
+++ b/src/gui/socketapi.cpp
@@ -141,6 +141,7 @@ SocketApi::~SocketApi()
     Q_ASSERT(_listeners.isEmpty() || _listeners.first()->parent() == &_localServer);
     _listeners.clear();
     slotClearExcludesList();
+    c_strlist_destroy(_excludes);
 }
 
 void SocketApi::slotClearExcludesList()

-- 
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