Message ID | 20111205172413.7753.52192.stgit@degas.1015granger.net |
---|---|
State | Accepted |
Headers | show |
diff --git a/src/libsi/getsrvinfo.c b/src/libsi/getsrvinfo.c index 7a465c7..931847e 100644 --- a/src/libsi/getsrvinfo.c +++ b/src/libsi/getsrvinfo.c @@ -289,6 +289,7 @@ getsrvinfo(const char *srvname, const char *domainname, struct srvinfo **si) new->si_target = strdup(exp_dn); if (new->si_target == NULL) { + free(new); status = ESI_MEMORY; goto out; }