diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-07-19 17:39:23 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-07-19 17:39:23 +0200 |
commit | 8557d14f65212faceb3e7223818b34b8869a0470 (patch) | |
tree | 77979da96009cd84c850db60a1300b9956fe8587 /source4/lib/registry/patchfile.c | |
parent | 7a765b65b739c38ea1e3cfc136c92d2fb5ed4fa7 (diff) | |
parent | 4447bd96b90ce4bfca793d482f9dcbd98e6579a5 (diff) | |
download | samba-8557d14f65212faceb3e7223818b34b8869a0470.tar.gz samba-8557d14f65212faceb3e7223818b34b8869a0470.tar.bz2 samba-8557d14f65212faceb3e7223818b34b8869a0470.zip |
Merge branch 'master' of git://git.samba.org/samba
Diffstat (limited to 'source4/lib/registry/patchfile.c')
-rw-r--r-- | source4/lib/registry/patchfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/registry/patchfile.c b/source4/lib/registry/patchfile.c index 925806985e..24d86abf48 100644 --- a/source4/lib/registry/patchfile.c +++ b/source4/lib/registry/patchfile.c @@ -316,6 +316,7 @@ _PUBLIC_ WERROR reg_diff_load(const char *filename, if (read(fd, &hdr, 4) != 4) { DEBUG(0, ("Error reading registry patch file `%s'\n", filename)); + close(fd); return WERR_GENERAL_FAILURE; } |