forked from osmocom/wireshark
Fix bug #3017: remove un-necessary code (and thus fix a small memory leak)
svn path=/trunk/; revision=26626
This commit is contained in:
parent
c83c448173
commit
51a5c82e9d
1 changed files with 0 additions and 3 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue