Commit ed9745b9 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Check the correct pointer after allocating memory.

parent 85e8d3ad
......@@ -82,7 +82,7 @@ string_table *msi_init_stringtable( int entries, UINT codepage )
if( entries < 1 )
entries = 1;
st->strings = msi_alloc_zero( sizeof (msistring) * entries );
if( !st )
if( !st->strings )
{
msi_free( st );
return NULL;
......
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