Skip to content

Commit

Permalink
Debugger: Make sure handles are closed correctly.
Browse files Browse the repository at this point in the history
Change-Id: Iede1548f29418d6707c9cdf1465bfb663bc00615
Reviewed-by: Christian Stenger <[email protected]>
  • Loading branch information
davschul committed Dec 7, 2015
1 parent f97e5f1 commit 11cb55a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/debugger/shared/peutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ bool getPDBFiles(const QString &peExecutableFileName, QStringList *rc, QString *
int debugSectionCount;
IMAGE_DEBUG_DIRECTORY *debugDir;
if (!getDebugDirectory(ntHeaders, fileMemory, &debugDir, &debugSectionCount, errorMessage))
return false;
break;
if (debugSectionCount)
collectPDBfiles(fileMemory, debugDir, debugSectionCount, rc);
success = true;
Expand Down

0 comments on commit 11cb55a

Please sign in to comment.