Commit 81df49fa authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

wbemprox: Fix the spelling of the free_associations() function name.

parent 289d456d
...@@ -2600,7 +2600,7 @@ struct association ...@@ -2600,7 +2600,7 @@ struct association
WCHAR *ref2; WCHAR *ref2;
}; };
static void free_assocations( struct association *assoc, UINT count ) static void free_associations( struct association *assoc, UINT count )
{ {
UINT i; UINT i;
if (!assoc) return; if (!assoc) return;
...@@ -2652,7 +2652,7 @@ static struct association *get_diskdrivetodiskpartition_pairs( UINT *count ) ...@@ -2652,7 +2652,7 @@ static struct association *get_diskdrivetodiskpartition_pairs( UINT *count )
*count = query->view->result_count; *count = query->view->result_count;
done: done:
if (!ret) free_assocations( ret, query->view->result_count ); if (!ret) free_associations( ret, query->view->result_count );
free_query( query ); free_query( query );
free_query( query2 ); free_query( query2 );
return ret; return ret;
...@@ -2668,12 +2668,12 @@ static enum fill_status fill_diskdrivetodiskpartition( struct table *table, cons ...@@ -2668,12 +2668,12 @@ static enum fill_status fill_diskdrivetodiskpartition( struct table *table, cons
if (!(assoc = get_diskdrivetodiskpartition_pairs( &count ))) return FILL_STATUS_FAILED; if (!(assoc = get_diskdrivetodiskpartition_pairs( &count ))) return FILL_STATUS_FAILED;
if (!count) if (!count)
{ {
free_assocations( assoc, count ); free_associations( assoc, count );
return FILL_STATUS_UNFILTERED; return FILL_STATUS_UNFILTERED;
} }
if (!resize_table( table, count, sizeof(*rec) )) if (!resize_table( table, count, sizeof(*rec) ))
{ {
free_assocations( assoc, count ); free_associations( assoc, count );
return FILL_STATUS_FAILED; return FILL_STATUS_FAILED;
} }
...@@ -2953,7 +2953,7 @@ static struct association *get_logicaldisktopartition_pairs( UINT *count ) ...@@ -2953,7 +2953,7 @@ static struct association *get_logicaldisktopartition_pairs( UINT *count )
*count = query->view->result_count; *count = query->view->result_count;
done: done:
if (!ret) free_assocations( ret, query->view->result_count ); if (!ret) free_associations( ret, query->view->result_count );
free_query( query ); free_query( query );
free_query( query2 ); free_query( query2 );
return ret; return ret;
...@@ -2969,12 +2969,12 @@ static enum fill_status fill_logicaldisktopartition( struct table *table, const ...@@ -2969,12 +2969,12 @@ static enum fill_status fill_logicaldisktopartition( struct table *table, const
if (!(assoc = get_logicaldisktopartition_pairs( &count ))) return FILL_STATUS_FAILED; if (!(assoc = get_logicaldisktopartition_pairs( &count ))) return FILL_STATUS_FAILED;
if (!count) if (!count)
{ {
free_assocations( assoc, count ); free_associations( assoc, count );
return FILL_STATUS_UNFILTERED; return FILL_STATUS_UNFILTERED;
} }
if (!resize_table( table, count, sizeof(*rec) )) if (!resize_table( table, count, sizeof(*rec) ))
{ {
free_assocations( assoc, count ); free_associations( assoc, count );
return FILL_STATUS_FAILED; return FILL_STATUS_FAILED;
} }
......
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