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:
e44cf42
)
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>
Sat, 13 Nov 2010 14:55:14 +0000
(14:55 +0000)
src/inspect.c
patch
|
blob
|
history
diff --git
a/src/inspect.c
b/src/inspect.c
index
bd6d189
..
962fd00
100644
(file)
--- a/
src/inspect.c
+++ b/
src/inspect.c
@@
-1028,7
+1028,7
@@
check_windows_registry (guestfs_h *g, struct inspect_fs *fs)
if (fs->minor_version == -1) {
free (key);
free (version);
-
return -1
;
+
goto out
;
}
}