Commit d45b2b0b authored by Rémi Duraffort's avatar Rémi Duraffort

Don't mix up malloc and delete.

parent cf68c2a3
......@@ -1176,7 +1176,7 @@ static void Atmo_SetupParameters(filter_t *p_filter)
"error %d",psz_gradient_file,i_res);
}
}
delete psz_gradient_file;
free( psz_gradient_file );
}
p_sys->p_atmo_dyndata = new CAtmoDynData((vlc_object_t *)p_filter,
......
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