summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-06-22 11:28:57 +0200
committerVolker Lendecke <vl@samba.org>2008-06-22 20:45:53 +0200
commita7e284c62d4b961780130a3ae8594094f1fb841d (patch)
tree73a759c43e6fec4840b98d5246d794bc65437d67
parentb4587a7c78fc8452f87f114b07b574180a3ea159 (diff)
downloadsamba-a7e284c62d4b961780130a3ae8594094f1fb841d.tar.gz
samba-a7e284c62d4b961780130a3ae8594094f1fb841d.tar.bz2
samba-a7e284c62d4b961780130a3ae8594094f1fb841d.zip
Reduce memory usage in form_junctions() a little bit
(This used to be commit d031e6d8cabe2dd0b29e90d173d45843e145176a)
-rw-r--r--source3/smbd/msdfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index df30257fcc..bc7cd81337 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);
}
}