Browse code

core: load_module - do not free 'path'

- it is stored by register_module and printed later for modparam

Daniel-Constantin Mierla authored on 29/05/2009 10:02:34
Showing 1 changed files
... ...
@@ -405,8 +405,6 @@ reload:
405 405
 		}
406 406
 	}
407 407
 	if (register_module(*mod_if_ver, exp, path, handle)<0) goto error1;
408
-	if (path && path!=mod_path)
409
-		pkg_free(path);
410 408
 	return 0;
411 409
 
412 410
 error1: