Fixed potential memory leak in host_create_any.

This commit is contained in:
Tobias Brunner
2011-04-14 18:11:45 +02:00
parent 6045eaa54a
commit 3c3c832a10
+1
View File
@@ -625,5 +625,6 @@ host_t *host_create_any(int family)
default: default:
break; break;
} }
free(this);
return NULL; return NULL;
} }