]> arthur.barton.de Git - netatalk.git/commitdiff
Fix possible bogus free
authorFrank Lahm <franklahm@googlemail.com>
Fri, 1 Apr 2011 05:04:46 +0000 (07:04 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Fri, 1 Apr 2011 05:04:46 +0000 (07:04 +0200)
libatalk/acl/unix.c

index be422aac38c7498d89e56c0f004f8cbe0374cff2..f72d9aaef7e3f01d96143de53cf20af517b259b4 100644 (file)
@@ -217,7 +217,7 @@ int nfsv4_chmod(char *name, mode_t mode)
 {
     int ret = -1;
     int noaces, nnaces;
-    ace_t *oacl = NULL, *nacl = NULL, *cacl;
+    ace_t *oacl = NULL, *nacl = NULL, *cacl = NULL;
 
     LOG(log_debug, logtype_afpd, "nfsv4_chmod(\"%s/%s\", %04o)",
         getcwdpath(), name, mode);