diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-10-30 19:41:27 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-10-30 19:41:27 +0000 |
commit | da15667cd3b232edacfe22d1bb4a62123f7c489f (patch) | |
tree | 7537c567506bf9bc2c976226730f8fa0501a9883 /epan/dissectors | |
parent | 2d54e17b551410a612cb45b3d0317478d0cc0bad (diff) |
Fix bug #3017: remove un-necessary code (and thus fix a small memory leak)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26626 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-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)) |