free some memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9265 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -166,8 +166,10 @@ getifaddrs2(struct ifaddrs **ifap,
|
|||||||
|
|
||||||
}
|
}
|
||||||
*ifap = start;
|
*ifap = start;
|
||||||
|
free(buf);
|
||||||
return 0;
|
return 0;
|
||||||
error_out:
|
error_out:
|
||||||
|
free(buf);
|
||||||
errno = ret;
|
errno = ret;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user