mirror of
https://github.com/wine-mirror/wine
synced 2024-07-08 03:45:57 +00:00
quartz/tests: Remove redundant null check from testfilter_JoinFilterGraph.
On Windows, wcsdup(NULL) always returns NULL.
This commit is contained in:
parent
c5700a63fb
commit
b3143850c2
|
@ -1501,7 +1501,7 @@ static HRESULT WINAPI testfilter_JoinFilterGraph(IBaseFilter *iface, IFilterGrap
|
|||
|
||||
filter->graph = graph;
|
||||
free(filter->name);
|
||||
filter->name = name ? wcsdup(name) : NULL;
|
||||
filter->name = wcsdup(name);
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user