diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-09-19 02:25:17 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-09-19 02:25:17 +0000 |
commit | 348ee93844624497a75fe67a1db3c01c3a3a035a (patch) | |
tree | ed778d44a03173672ca5df5944f8eb427f2788e6 /packet-snmp.c | |
parent | 67983abe66fe8ec3b463950bc12a32c019bd32d7 (diff) | |
download | wireshark-348ee93844624497a75fe67a1db3c01c3a3a035a.tar.gz wireshark-348ee93844624497a75fe67a1db3c01c3a3a035a.tar.bz2 wireshark-348ee93844624497a75fe67a1db3c01c3a3a035a.zip |
Move the dlclose() of libsnmp_handle into the libsnmp_handle != NULL
block.
svn path=/trunk/; revision=2446
Diffstat (limited to 'packet-snmp.c')
-rw-r--r-- | packet-snmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-snmp.c b/packet-snmp.c index c0ad3bd34f..17972f10b2 100644 --- a/packet-snmp.c +++ b/packet-snmp.c @@ -2,7 +2,7 @@ * Routines for SNMP (simple network management protocol) * D.Jorand (c) 1998 * - * $Id: packet-snmp.c,v 1.49 2000/09/17 07:23:44 guy Exp $ + * $Id: packet-snmp.c,v 1.50 2000/09/19 02:25:17 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -2041,8 +2041,8 @@ proto_register_snmp(void) (*ds_set_int_p)(0, 4, 2); } } + dlclose(libsnmp_handle); } - dlclose(libsnmp_handle); #else /* linux */ snmp_set_suffix_only(2); #endif /* linux */ |