Module Name: src
Committed By: joerg
Date: Fri Nov 16 02:10:27 UTC 2012
Modified Files:
src/lib/libresolv: dst_api.c
Log Message:
SAFE_FREE sets key_st to NULL, so use that explicitly.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libresolv/dst_api.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libresolv/dst_api.c
diff -u src/lib/libresolv/dst_api.c:1.1 src/lib/libresolv/dst_api.c:1.2
--- src/lib/libresolv/dst_api.c:1.1 Thu Nov 15 18:48:48 2012
+++ src/lib/libresolv/dst_api.c Fri Nov 16 02:10:26 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: dst_api.c,v 1.1 2012/11/15 18:48:48 christos Exp $ */
+/* $NetBSD: dst_api.c,v 1.2 2012/11/16 02:10:26 joerg Exp $ */
/*
* Portions Copyright (c) 1995-1998 by Trusted Information Systems, Inc.
@@ -40,7 +40,7 @@
#if 0
static const char rcsid[] = "Header: /proj/cvs/prod/libbind/dst/dst_api.c,v 1.17 2007/09/24 17:18:25 each Exp ";
#else
-__RCSID("$NetBSD: dst_api.c,v 1.1 2012/11/15 18:48:48 christos Exp $");
+__RCSID("$NetBSD: dst_api.c,v 1.2 2012/11/16 02:10:26 joerg Exp $");
#endif
@@ -691,7 +691,7 @@ dst_dnskey_to_key(const char *in_name, c
alg));
SAFE_FREE(key_st);
- return (key_st);
+ return (NULL);
}
/*%