Follow-up to r14763: use caml_stat_free instead of plain free.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14764 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
4fde43407f
commit
44ac495ee3
|
@ -29,7 +29,7 @@ static void *getsym(void *handle, char *module, char *name){
|
||||||
void *sym;
|
void *sym;
|
||||||
sym = caml_dlsym (handle, fullname);
|
sym = caml_dlsym (handle, fullname);
|
||||||
/* printf("%s => %lx\n", fullname, (uintnat) sym); */
|
/* printf("%s => %lx\n", fullname, (uintnat) sym); */
|
||||||
free(fullname);
|
caml_stat_free(fullname);
|
||||||
return sym;
|
return sym;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue