mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:39:34 +00:00
wldap32: Fix a mod_type leak (Valgrind).
This commit is contained in:
parent
3345404cbe
commit
ca692fb39c
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue