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-0dff7051ff02
master
Xavier Leroy 2014-05-08 07:10:56 +00:00
parent 4fde43407f
commit 44ac495ee3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }