Commit c60bab33 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

wbemprox: Add missing FindClose() (Coverity).

parent 7974b12a
......@@ -1302,6 +1302,7 @@ static enum fill_status fill_directory( struct table *table, const struct expr *
{
if (!resize_table( table, row + 1, sizeof(*rec) ))
{
FindClose( handle );
status = FILL_STATUS_FAILED;
goto done;
}
......@@ -1313,6 +1314,7 @@ static enum fill_status fill_directory( struct table *table, const struct expr *
if (!(push_dir( dirstack, new_path, len )))
{
heap_free( new_path );
FindClose( handle );
status = FILL_STATUS_FAILED;
goto done;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment