Fixed potential memory leak in host_create_any.
This commit is contained in:
1 parent
6045eaa54a
commit
3c3c832a10
1 file changed
+1
@@ -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