Permalink
Browse files

PR#6075: fix build under Windows (there is no caml_strbuf_free).

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14651 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information...
1 parent 82e2f35 commit 44845c5c17132af3c3d6efa5e54e35f815e5408c @alainfrisch alainfrisch committed Apr 22, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 byterun/win32.c
View
@@ -296,7 +296,7 @@ int caml_read_directory(char * dirname, struct ext_table * contents)
template = caml_strconcat(2, dirname, "\\*.*");
h = _findfirst(template, &fileinfo);
if (h == -1) {
- caml_strbuf_free(&template);
+ caml_stat_free(template);
return errno == ENOENT ? 0 : -1;
}
do {

0 comments on commit 44845c5

Please sign in to comment.