Browse Source

core: load_module - do not free 'path'

- it is stored by register_module and printed later for modparam
Daniel-Constantin Mierla 16 years ago
parent
commit
08605a1c05
1 changed files with 0 additions and 2 deletions
  1. 0 2
      sr_module.c

+ 0 - 2
sr_module.c

@@ -405,8 +405,6 @@ reload:
 		}
 	}
 	if (register_module(*mod_if_ver, exp, path, handle)<0) goto error1;
-	if (path && path!=mod_path)
-		pkg_free(path);
 	return 0;
 
 error1: