diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-10-30 19:41:27 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-10-30 19:41:27 +0000 |
commit | 51a5c82e9df62813d57a8fc84c5a38a721fc3415 (patch) | |
tree | 7537c567506bf9bc2c976226730f8fa0501a9883 /epan/dissectors/packet-giop.c | |
parent | c83c448173ba0427445615e9ab31892942869f28 (diff) |
Fix bug #3017: remove un-necessary code (and thus fix a small memory leak)
svn path=/trunk/; revision=26626
Diffstat (limited to 'epan/dissectors/packet-giop.c')
-rw-r--r-- | epan/dissectors/packet-giop.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-giop.c b/epan/dissectors/packet-giop.c index 8b95fb5ae6..8adb23ec79 100644 --- a/epan/dissectors/packet-giop.c +++ b/epan/dissectors/packet-giop.c @@ -1474,14 +1474,11 @@ static gchar * get_repoid_from_objkey(GHashTable *hash, guint8 *obj, guint32 len static gchar * get_modname_from_repoid(gchar *repoid) { gchar *modname = NULL; - gchar *saved_repoid = NULL; gchar c = 'a'; guint8 stop_mod = 0; /* Index of last character of modname in Repoid */ guint8 start_mod = 4; /* Index where Module name starts in repoid */ int i; - saved_repoid = g_strdup(repoid); /* make a copy */ - /* Must start with IDL: , otherwise I get confused */ if (g_ascii_strncasecmp("IDL:",repoid,4)) |