diff --git a/winpr/libwinpr/io/device.c b/winpr/libwinpr/io/device.c index e46e41be2..c1ce691af 100644 --- a/winpr/libwinpr/io/device.c +++ b/winpr/libwinpr/io/device.c @@ -106,7 +106,7 @@ char* GetDeviceFileUnixDomainSocketFilePathA(LPCSTR lpName) if (!lpFileName) { - free(lpFilePath); + free(lpPipePath); return NULL; }