SCCS-vsn: lib/libc/db/test/dbtest.c 5.13
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)dbtest.c 5.12 (Berkeley) %G%";
+static char sccsid[] = "@(#)dbtest.c 5.13 (Berkeley) %G%";
#endif /* not lint */
#include <sys/param.h>
#endif /* not lint */
#include <sys/param.h>
err("line %lu: command doesn't take data",
lineno);
}
err("line %lu: command doesn't take data",
lineno);
}
+ if (type != DB_RECNO)
+ free(key.data);
free(data.data);
state = COMMAND;
break;
free(data.data);
state = COMMAND;
break;