projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f96df2
)
fix memroy leak of fd at FindFirstFileW()
author
weizhenwei
<weizhenwei1988@gmail.com>
Tue, 13 Jun 2017 08:46:37 +0000
(16:46 +0800)
committer
weizhenwei
<weizhenwei1988@gmail.com>
Wed, 21 Jun 2017 07:26:28 +0000
(15:26 +0800)
winpr/libwinpr/file/generic.c
patch
|
blob
|
history
diff --git
a/winpr/libwinpr/file/generic.c
b/winpr/libwinpr/file/generic.c
index
918d8a8
..
51daafe
100644
(file)
--- a/
winpr/libwinpr/file/generic.c
+++ b/
winpr/libwinpr/file/generic.c
@@
-938,6
+938,7
@@
HANDLE FindFirstFileW(LPCWSTR lpFileName, LPWIN32_FIND_DATAW lpFindFileData)
}
}
+ free(fd);
return h;
}