make valgrind happy (only triggered in debug messages)

This commit is contained in:
leitner
2005-03-17 09:52:05 +00:00
parent a0fc14fd4b
commit d02823c5ab

View File

@@ -44,6 +44,8 @@ int scan_ldapsearchfilter(const char* src,const char* max,struct Filter** f) {
res+=tmp;
if (src+res+len>max) goto error;
if (!(*f=malloc(sizeof(struct Filter)))) goto error;
(*f)->next=0;
(*f)->x=0;
(*f)->substrings=0;
nmax=src+res+len;
switch ((*f)->type=tag) {