summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/src/map.c
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2001-08-21 01:31:44 +0000
committergshapiro <gshapiro@FreeBSD.org>2001-08-21 01:31:44 +0000
commit289b381b31415647269c7520d881017e2dcb27f1 (patch)
tree2cfd003f88c7ffe91602b6a6c0b69bee7b4d62db /contrib/sendmail/src/map.c
parent1164bba81c60839834c20d6e34983b4cfb9c05b4 (diff)
downloadFreeBSD-src-289b381b31415647269c7520d881017e2dcb27f1.zip
FreeBSD-src-289b381b31415647269c7520d881017e2dcb27f1.tar.gz
Import sendmail 8.11.6
Diffstat (limited to 'contrib/sendmail/src/map.c')
-rw-r--r--contrib/sendmail/src/map.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/sendmail/src/map.c b/contrib/sendmail/src/map.c
index 04b040f..78f8a02 100644
--- a/contrib/sendmail/src/map.c
+++ b/contrib/sendmail/src/map.c
@@ -12,7 +12,7 @@
*/
#ifndef lint
-static char id[] = "@(#)$Id: map.c,v 8.414.4.54 2001/06/01 08:23:24 gshapiro Exp $";
+static char id[] = "@(#)$Id: map.c,v 8.414.4.55 2001/08/15 22:08:58 gshapiro Exp $";
#endif /* ! lint */
#include <sendmail.h>
@@ -5359,7 +5359,8 @@ hes_map_lookup(map, name, av, statp)
*statp = EX_UNAVAILABLE;
break;
}
- hesiod_free_list(HesiodContext, hp);
+ if (hp != NULL)
+ hesiod_free_list(HesiodContext, hp);
return NULL;
}
# else /* HESIOD_INIT */
OpenPOWER on IntegriCloud