[Pkg-libvirt-commits] [libguestfs] 122/146: fuse: test-fuse: free "acl_text"

Hilko Bengen bengen at moszumanska.debian.org
Sun Mar 29 17:01:17 UTC 2015


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

bengen pushed a commit to branch master
in repository libguestfs.

commit 21f27320a1876aed80ba9e108ac93845a8f60168
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Tue Jan 20 16:08:38 2015 +0100

    fuse: test-fuse: free "acl_text"
    
    Make sure to free the buffer returned by acl_to_any_text.
    
    (cherry picked from commit 0eedddad2f02d687c58d5875d258ace1417885f1)
---
 fuse/test-fuse.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fuse/test-fuse.c b/fuse/test-fuse.c
index a341994..31b520a 100644
--- a/fuse/test-fuse.c
+++ b/fuse/test-fuse.c
@@ -658,6 +658,7 @@ test_fuse (void)
       fprintf (stderr, "unexpected acl: %s\n", acl_text);
       return -1;
     }
+    acl_free (acl_text);
     acl_free (acl);
   }
 #endif

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



More information about the Pkg-libvirt-commits mailing list