mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Added comment in lp_string() about debugging memory problems.
(This used to be commit 98e97fac17b766a6da658daa1ec40ffaf6f5bb2e)
This commit is contained in:
parent
d58af01dcc
commit
3e5efdb05c
@ -1410,6 +1410,15 @@ static char *lp_string(const char *s)
|
||||
size_t len = s ? strlen(s) : 0;
|
||||
char *ret;
|
||||
|
||||
/* The follow debug is useful for tracking down memory problems
|
||||
especially if you have an inner loop that is calling a lp_*()
|
||||
function that returns a string. Perhaps this debug should be
|
||||
present all the time? */
|
||||
|
||||
#if 0
|
||||
DEBUG(10, ("lp_string(%s)\n", s));
|
||||
#endif
|
||||
|
||||
if (!lp_talloc)
|
||||
lp_talloc = talloc_init_named("lp_talloc");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user