diff --git a/CHANGES b/CHANGES index cc6bf0c233..024276620f 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,8 @@ +2.1-377 | 2013-03-17 17:36:09 -0700 + + * Fixing potential leak in DNS error case. (Vlad Grigorescu) + 2.1-375 | 2013-03-17 13:14:26 -0700 * Add base64 encoding functionality, including new BiFs diff --git a/VERSION b/VERSION index 14ae5c58d9..ccb2f89fe9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1-375 +2.1-377 diff --git a/src/nb_dns.c b/src/nb_dns.c index e8595e6837..33a00837e4 100644 --- a/src/nb_dns.c +++ b/src/nb_dns.c @@ -265,6 +265,7 @@ _nb_dns_mkquery(register struct nb_dns_info *nd, register const char *name, default: snprintf(errstr, NB_DNS_ERRSIZE, "_nb_dns_mkquery: bad family %d", atype); + free(ne); return (-1); }