Skip to content
Browse files

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
  • Loading branch information...
1 parent 4fde434 commit 44ac495ee36ec8b62290e064ccdd76c0ba2f949a @xavierleroy xavierleroy committed May 8, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 asmrun/natdynlink.c
View
2 asmrun/natdynlink.c
@@ -29,7 +29,7 @@ static void *getsym(void *handle, char *module, char *name){
void *sym;
sym = caml_dlsym (handle, fullname);
/* printf("%s => %lx\n", fullname, (uintnat) sym); */
- free(fullname);
+ caml_stat_free(fullname);
return sym;
}

0 comments on commit 44ac495

Please sign in to comment.
Something went wrong with that request. Please try again.