mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:35:52 +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 a new issue