Fixed potential memory leak in host_create_any.
This commit is contained in:
@@ -625,5 +625,6 @@ host_t *host_create_any(int family)
|
|||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
free(this);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user