Fix bug #3017: remove un-necessary code (and thus fix a small memory leak)

svn path=/trunk/; revision=26626
This commit is contained in:
Bill Meier 2008-10-30 19:41:27 +00:00
parent c83c448173
commit 51a5c82e9d

View file

@ -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))