Plug leak of datum. Should be freed after use.

This commit is contained in:
Kurt Zeilenga 1999-02-03 05:00:41 +00:00
parent ace9fb68c5
commit 368a507c9a

View File

@ -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 );