forked from enlightenment/enlightenment
free existing randr monitor info before replacing it with a new one
leak-- SVN revision: 72067
This commit is contained in:
parent
7b654c6438
commit
533aa60251
|
@ -143,7 +143,10 @@ _outputs_init(void)
|
|||
{
|
||||
_output_refs_set(output);
|
||||
if (output->connection_status == ECORE_X_RANDR_CONNECTION_STATUS_CONNECTED)
|
||||
output->monitor = _monitor_info_new(output);
|
||||
{
|
||||
_monitor_info_free(output->monitor);
|
||||
output->monitor = _monitor_info_new(output);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue