aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-giop.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-10-30 19:41:27 +0000
committerBill Meier <wmeier@newsguy.com>2008-10-30 19:41:27 +0000
commit51a5c82e9df62813d57a8fc84c5a38a721fc3415 (patch)
tree7537c567506bf9bc2c976226730f8fa0501a9883 /epan/dissectors/packet-giop.c
parentc83c448173ba0427445615e9ab31892942869f28 (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.c3
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))