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)
committerJeremy Allison <jra@samba.org>
Mon, 23 Jun 2008 18:10:42 +0000 (11:10 -0700)
source/smbd/msdfs.c

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