diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-05-28 22:40:19 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-05-28 22:40:19 +0000 |
commit | 2573a5527a6b793a7fc3acef0f178d38cb6584fb (patch) | |
tree | 6eccc3e2a951efabe176daa9d48747f1b4388032 /packet-smb.c | |
parent | 28c73939f3602b90f7d5648f719ebd143050ac6b (diff) | |
download | wireshark-2573a5527a6b793a7fc3acef0f178d38cb6584fb.tar.gz wireshark-2573a5527a6b793a7fc3acef0f178d38cb6584fb.tar.bz2 wireshark-2573a5527a6b793a7fc3acef0f178d38cb6584fb.zip |
From Laurent Rabret: use "g_free()", not "free()", to free stuff
allocated with "g_malloc()" and related GLib routines.
svn path=/trunk/; revision=7758
Diffstat (limited to 'packet-smb.c')
-rw-r--r-- | packet-smb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-smb.c b/packet-smb.c index 1cca7e3bb3..ef6a1447e6 100644 --- a/packet-smb.c +++ b/packet-smb.c @@ -3,7 +3,7 @@ * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com> * 2001 Rewrite by Ronnie Sahlberg and Guy Harris * - * $Id: packet-smb.c,v 1.343 2003/05/23 01:45:27 tpot Exp $ + * $Id: packet-smb.c,v 1.344 2003/05/28 22:40:19 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1063,7 +1063,7 @@ TimeZoneFaster(time_t t) tdt = g_realloc(dst_table, sizeof(dst_table[0])*(i+1)); if (tdt == NULL) { if (dst_table) - free(dst_table); + g_free(dst_table); table_size = 0; } else { dst_table = tdt; |