Put a name on lp_talloc pool
authorMartin Pool <mbp@samba.org>
Thu, 3 Jan 2002 05:57:21 +0000 (05:57 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 3 Jan 2002 05:57:21 +0000 (05:57 +0000)
(This used to be commit 472121749460a73f684bdbd02b828e89fad101af)

source3/param/loadparm.c

index 724d10c2facaf4ac4b8df1c8e78feda06e921375..01e5fb27aaf20a1e7fd54c3671de6bfe6b4a79a6 100644 (file)
@@ -1397,7 +1397,7 @@ static char *lp_string(const char *s)
        char *ret;
 
        if (!lp_talloc)
-               lp_talloc = talloc_init();
+               lp_talloc = talloc_init_named("lp_talloc");
 
        ret = (char *)talloc(lp_talloc, len + 100);     /* leave room for substitution */