mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
server/proxy: pf_filters: Update filter_free to accept NULL
This commit is contained in:
@@ -121,7 +121,9 @@ PF_FILTER_RESULT pf_filters_run_by_type(filters_list* list, PF_FILTER_TYPE type,
|
||||
|
||||
static void pf_filters_filter_free(proxyFilter* filter)
|
||||
{
|
||||
assert(filter != NULL);
|
||||
if (!filter)
|
||||
return;
|
||||
|
||||
if (filter->handle)
|
||||
FreeLibrary(filter->handle);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user