Memory leak fix, nwn

This commit is contained in:
Ryan Holtz 2011-06-03 14:41:30 +00:00
parent 771b77142f
commit ad8a4985f9

View File

@ -507,6 +507,9 @@ static void drawd3d_window_destroy(win_window_info *window)
if (d3d == NULL)
return;
// delete the HLSL interface
global_free(d3d->hlsl);
// delete the device
device_delete(d3d);