Commit ca692fb3 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

wldap32: Fix a mod_type leak (Valgrind).

parent 3345404c
......@@ -868,6 +868,7 @@ static inline void modfreeU( LDAPMod *mod )
bvarrayfreeU( mod->mod_vals.modv_bvals );
else
strarrayfreeU( mod->mod_vals.modv_strvals );
free( mod->mod_type );
free( mod );
}
......@@ -1010,6 +1011,7 @@ static inline void modfreeW( LDAPModW *mod )
bvarrayfreeW( mod->mod_vals.modv_bvals );
else
strarrayfreeW( mod->mod_vals.modv_strvals );
free( mod->mod_type );
free( mod );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment