prevent double free
This commit is contained in:
@@ -109,5 +109,6 @@ size_t scan_ldapsearchfilter(const char* src,const char* max,struct Filter** f)
|
|||||||
return res;
|
return res;
|
||||||
error:
|
error:
|
||||||
free_ldapsearchfilter(*f);
|
free_ldapsearchfilter(*f);
|
||||||
|
*f=0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user