mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
Plug leak of datum. Should be freed after use.
This commit is contained in:
parent
ace9fb68c5
commit
368a507c9a
@ -282,6 +282,8 @@ main( int argc, char **argv )
|
||||
}
|
||||
(void) memcpy( (char *) &pid,
|
||||
data.dptr, sizeof(ID) );
|
||||
|
||||
ldbm_datum_free( db->dbc_db, data);
|
||||
}
|
||||
|
||||
sprintf( buf2, "%c%ld", EQ_PREFIX, pid );
|
||||
|
Loading…
Reference in New Issue
Block a user