Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
37009138
Commit
37009138
authored
Apr 11, 2006
by
Juan Lang
Committed by
Alexandre Julliard
Apr 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix possible crash bugs in error path.
parent
42c7372b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
appsearch.c
dlls/msi/appsearch.c
+10
-5
No files found.
dlls/msi/appsearch.c
View file @
37009138
...
...
@@ -158,7 +158,8 @@ static UINT ACTION_AppSearchGetSignature(MSIPACKAGE *package, MSISIGNATURE *sig,
TRACE
(
"Languages is %s
\n
"
,
debugstr_w
(
sig
->
Languages
));
end:
msiobj_release
(
&
row
->
hdr
);
if
(
row
)
msiobj_release
(
&
row
->
hdr
);
MSI_ViewClose
(
view
);
msiobj_release
(
&
view
->
hdr
);
}
...
...
@@ -220,7 +221,8 @@ static UINT ACTION_AppSearchComponents(MSIPACKAGE *package, BOOL *appFound,
debugstr_w
(
guid
));
end:
msiobj_release
(
&
row
->
hdr
);
if
(
row
)
msiobj_release
(
&
row
->
hdr
);
MSI_ViewClose
(
view
);
msiobj_release
(
&
view
->
hdr
);
}
...
...
@@ -393,7 +395,8 @@ end:
msi_free
(
keyPath
);
msi_free
(
valueName
);
msiobj_release
(
&
row
->
hdr
);
if
(
row
)
msiobj_release
(
&
row
->
hdr
);
MSI_ViewClose
(
view
);
msiobj_release
(
&
view
->
hdr
);
}
...
...
@@ -448,7 +451,8 @@ static UINT ACTION_AppSearchIni(MSIPACKAGE *package, BOOL *appFound,
msi_free
(
fileName
);
end:
msiobj_release
(
&
row
->
hdr
);
if
(
row
)
msiobj_release
(
&
row
->
hdr
);
MSI_ViewClose
(
view
);
msiobj_release
(
&
view
->
hdr
);
}
...
...
@@ -872,7 +876,8 @@ static UINT ACTION_AppSearchDr(MSIPACKAGE *package, MSISIGNATURE *sig)
rc
=
ACTION_SearchDirectory
(
package
,
sig
,
expanded
,
depth
);
end:
msiobj_release
(
&
row
->
hdr
);
if
(
row
)
msiobj_release
(
&
row
->
hdr
);
MSI_ViewClose
(
view
);
msiobj_release
(
&
view
->
hdr
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment