From 1d6df91a9d5d9a753f00c80d83f5e425c5f05154 Mon Sep 17 00:00:00 2001 From: Jeff Morriss Date: Tue, 26 Feb 2008 19:52:21 +0000 Subject: get_datafile_path() and get_persconffile_path() return malloc'd memory, free it when we're done with the file name. svn path=/trunk/; revision=24479 --- epan/dissectors/packet-xml.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'epan/dissectors/packet-xml.c') diff --git a/epan/dissectors/packet-xml.c b/epan/dissectors/packet-xml.c index 27c3c5f02f..706cf7c493 100644 --- a/epan/dissectors/packet-xml.c +++ b/epan/dissectors/packet-xml.c @@ -1191,6 +1191,8 @@ static void init_xml_names(void) { } } + g_free(dirname); + for(i=0;i