fix a leak (nw)

This commit is contained in:
Miodrag Milanovic 2015-04-20 08:49:04 +02:00
parent 8c2c7994cc
commit ca0b1aaeaa

View File

@ -134,6 +134,8 @@ void win_monitor_info::refresh()
char *temp = utf8_from_tstring(m_info.szDevice);
if (temp) strncpy(m_name, temp, sizeof(m_name));
osd_free(temp);
m_pos_size = RECT_to_osd_rect(m_info.rcMonitor);
m_usuable_pos_size = RECT_to_osd_rect(m_info.rcWork);