]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Reduce memory usage in form_junctions() a little bit
authorVolker Lendecke <vl@samba.org>
Sun, 22 Jun 2008 09:28:57 +0000 (11:28 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 22 Jun 2008 18:45:53 +0000 (20:45 +0200)
source/smbd/msdfs.c

index df30257fcc91a65349d9a6b4745a8543d69d06cb..bc7cd81337ebb7880a5e2a6f65b062e78a539fb7 100644 (file)
@@ -1567,6 +1567,7 @@ static int form_junctions(TALLOC_CTX *ctx,
                                jucn[cnt].comment = "";
                                cnt++;
                        }
+                       TALLOC_FREE(link_target);
                }
        }