Explorar el Código

core: load_module - do not free 'path'

- it is stored by register_module and printed later for modparam
Daniel-Constantin Mierla hace 16 años
padre
commit
08605a1c05
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  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: