mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
Plug memory leak.
This commit is contained in:
parent
de24d31499
commit
c49ee66b78
2 changed files with 2 additions and 0 deletions
|
|
@ -204,6 +204,7 @@ Entry *bdb2i_deref_r(
|
||||||
}
|
}
|
||||||
|
|
||||||
free( dn );
|
free( dn );
|
||||||
|
charray_free( dnlist );
|
||||||
return entry;
|
return entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -205,6 +205,7 @@ Entry *deref_internal_r(
|
||||||
}
|
}
|
||||||
|
|
||||||
free( dn );
|
free( dn );
|
||||||
|
charray_free( dnlist );
|
||||||
return entry;
|
return entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue