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-ieee80211.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-ieee80211.c')
-rw-r--r-- | packet-ieee80211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-ieee80211.c b/packet-ieee80211.c index cdb576f525..1abc249a8f 100644 --- a/packet-ieee80211.c +++ b/packet-ieee80211.c @@ -3,7 +3,7 @@ * Copyright 2000, Axis Communications AB * Inquiries/bugreports should be sent to Johan.Jorgensen@axis.com * - * $Id: packet-ieee80211.c,v 1.88 2003/05/25 19:35:33 guy Exp $ + * $Id: packet-ieee80211.c,v 1.89 2003/05/28 22:40:18 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -2546,7 +2546,7 @@ static tvbuff_t *try_decrypt_wep(tvbuff_t *tvb, guint32 offset, guint32 len) { } done: - if ((!decr_tvb) && (tmp)) free(tmp); + if ((!decr_tvb) && (tmp)) g_free(tmp); #if 0 printf("de-wep %p\n", decr_tvb); |