]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/findlib/bfile.c
Doc updates + fix orphaned buffer and The data is not valid msg
[bacula/bacula] / bacula / src / findlib / bfile.c
index 30761e1051f30e53ca7678e031899f6f860ed89f..3f2c9539006b6efd9c3f0a355ceec923db7094ae 100644 (file)
@@ -252,6 +252,7 @@ int bopen(BFILE *bfd, const char *fname, int flags, mode_t mode)
    }
    bfd->errmsg = NULL;
    bfd->lpContext = NULL;
+   free_pool_memory(win32_fname);
    return bfd->mode == BF_CLOSED ? -1 : 1;
 }