Commit fe5bfa5b authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

widl: Add null source pointer check for typelib writer.

parent fdf43b9b
......@@ -2560,6 +2560,7 @@ static void set_lib_flags(msft_typelib_t *typelib)
static void ctl2_write_segment(msft_typelib_t *typelib, int segment)
{
if (typelib->typelib_segment_data[segment])
put_data(typelib->typelib_segment_data[segment], typelib->typelib_segdir[segment].length);
}
......
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