Zebediah Figura : quartz: Use free() to free the "pszFileName" member.

Alexandre Julliard julliard at winehq.org
Mon Feb 22 15:43:20 CST 2021


Module: wine
Branch: master
Commit: 5ae9fcedefa9b51c6f2fcc8872d4067b0ffe6c22
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=5ae9fcedefa9b51c6f2fcc8872d4067b0ffe6c22

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Sat Feb 20 10:23:14 2021 -0600

quartz: Use free() to free the "pszFileName" member.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/quartz/filesource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/quartz/filesource.c b/dlls/quartz/filesource.c
index cc252c0e0e0..cf5fe457715 100644
--- a/dlls/quartz/filesource.c
+++ b/dlls/quartz/filesource.c
@@ -340,7 +340,7 @@ static void async_reader_destroy(struct strmbase_filter *iface)
         DeleteCriticalSection(&filter->sample_cs);
         strmbase_source_cleanup(&filter->source);
 
-        CoTaskMemFree(filter->pszFileName);
+        free(filter->pszFileName);
         FreeMediaType(&filter->mt);
     }
 




More information about the wine-cvs mailing list