From a7e284c62d4b961780130a3ae8594094f1fb841d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 22 Jun 2008 11:28:57 +0200 Subject: [PATCH] Reduce memory usage in form_junctions() a little bit (This used to be commit d031e6d8cabe2dd0b29e90d173d45843e145176a) --- source3/smbd/msdfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c index df30257fcc9..bc7cd81337e 100644 --- a/source3/smbd/msdfs.c +++ b/source3/smbd/msdfs.c @@ -1567,6 +1567,7 @@ static int form_junctions(TALLOC_CTX *ctx, jucn[cnt].comment = ""; cnt++; } + TALLOC_FREE(link_target); } }