aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-01-05 10:05:03 +0000
committerGuy Harris <guy@alum.mit.edu>2005-01-05 10:05:03 +0000
commitd4bf60e4bab8fefae08e1b035fb5c52457cbbfcc (patch)
tree67fd1991f08f4b4580eec66b06a38a444a85a49d /epan
parent33daa3e71583470df56175fd8890f71e37edea8c (diff)
From Chris Maynard: add a missing free of a string fetched with
tvb_get_string(). svn path=/trunk/; revision=12954
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-image-gif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-image-gif.c b/epan/dissectors/packet-image-gif.c
index 1d93eb14d3..0116798777 100644
--- a/epan/dissectors/packet-image-gif.c
+++ b/epan/dissectors/packet-image-gif.c
@@ -440,6 +440,8 @@ dissect_gif(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree)
}
} /* while */
}
+ else
+ g_free(str);
}