git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1133a7
)
inspect: Fix error out path if minor_version parsing fails.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 13 Nov 2010 14:55:14 +0000
(14:55 +0000)
committer
Richard W.M. Jones
<rjones@redhat.com>
Thu, 18 Nov 2010 11:37:10 +0000
(11:37 +0000)
(cherry picked from commit
9674a73c08e128d8a7a39a6be6140c373c0e61f0
)
src/inspect.c
patch
|
blob
|
history
diff --git
a/src/inspect.c
b/src/inspect.c
index
e418c3c
..
64d9c15
100644
(file)
--- a/
src/inspect.c
+++ b/
src/inspect.c
@@
-916,7
+916,7
@@
check_windows_registry (guestfs_h *g, struct inspect_fs *fs)
if (fs->minor_version == -1) {
free (key);
free (version);
-
return -1
;
+
goto out
;
}
}