[Pkg-owncloud-commits] [owncloud-client] 19/70: csync_vio_local: fix memory leak on windows

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Jul 1 10:21:19 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 0a953b91f9efdf6969efe6b30bea0c720f86b8ae
Author: Olivier Goffart <ogoffart at woboq.com>
Date:   Tue Jun 17 16:40:38 2014 +0200

    csync_vio_local: fix memory leak on windows
---
 csync/src/vio/csync_vio_local.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/csync/src/vio/csync_vio_local.c b/csync/src/vio/csync_vio_local.c
index ce2b257..1d51f0c 100644
--- a/csync/src/vio/csync_vio_local.c
+++ b/csync/src/vio/csync_vio_local.c
@@ -260,6 +260,7 @@ int csync_vio_local_stat(const char *uri, csync_vio_file_stat_t *buf) {
         buf->fields |= CSYNC_VIO_FILE_STAT_FIELDS_CTIME;
     }
 
+    c_free_locale_string(wuri);
     CloseHandle(h);
 
     return 0;

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