Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/dist/dhcp/omapip Pull up revision 1.4 (requested by lukem...
details: https://anonhg.NetBSD.org/src/rev/80080ac66eb7
branches: netbsd-3
changeset: 576233:80080ac66eb7
user: snj <snj%NetBSD.org@localhost>
date: Wed Jun 15 05:41:31 2005 +0000
description:
Pull up revision 1.4 (requested by lukem in ticket #413):
Ensure name_str is initialized because we try to free it later.
Detected with gcc -Wuninitialized.
diffstat:
dist/dhcp/omapip/connection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2b441de61a98 -r 80080ac66eb7 dist/dhcp/omapip/connection.c
--- a/dist/dhcp/omapip/connection.c Wed Jun 15 05:38:24 2005 +0000
+++ b/dist/dhcp/omapip/connection.c Wed Jun 15 05:41:31 2005 +0000
@@ -711,7 +711,7 @@
omapi_value_t *algorithm = (omapi_value_t *)0;
omapi_value_t *key = (omapi_value_t *)0;
int algorithm_id;
- char *name_str;
+ char *name_str = NULL;
isc_result_t status = ISC_R_SUCCESS;
if (status == ISC_R_SUCCESS)
Home |
Main Index |
Thread Index |
Old Index