Commit f9e6fac3 authored by Ben Laurie's avatar Ben Laurie
Browse files

Oops. Missing NULL frees.

parent 512d2228
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -176,6 +176,9 @@ LHASH *lh;
	unsigned int i;
	LHASH_NODE *n,*nn;

	if(lh == NULL)
	    return;

	for (i=0; i<lh->num_nodes; i++)
		{
		n=lh->b[i];
+3 −0
Original line number Diff line number Diff line
@@ -219,6 +219,9 @@ static int free_type;
static void names_lh_free(onp,type)
OBJ_NAME *onp;
	{
	if(onp == NULL)
	    return;

	if ((free_type < 0) || (free_type == onp->type))
		{
		OBJ_NAME_remove(onp->name,onp->type);