Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 44845c5c17132af3c3d6efa5e54e35f815e5408c 1 parent 82e2f35
@alainfrisch alainfrisch authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  byterun/win32.c
View
2  byterun/win32.c
@@ -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 {
Please sign in to comment.
Something went wrong with that request. Please try again.