projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- Synchronize up to trunk's revision r57864.
[reactos.git]
/
dll
/
win32
/
msi
/
source.c
diff --git
a/dll/win32/msi/source.c
b/dll/win32/msi/source.c
index
881f3d2
..
ab8541c
100644
(file)
--- a/
dll/win32/msi/source.c
+++ b/
dll/win32/msi/source.c
@@
-763,7
+763,10
@@
UINT msi_set_last_used_source(LPCWSTR product, LPCWSTR usersid,
r = OpenSourceKey(product, &source, MSICODE_PRODUCT, context, FALSE);
if (r != ERROR_SUCCESS)
+ {
+ msi_free(buffer);
return r;
+ }
sprintfW(buffer, format, typechar, index, value);