testdisplay: Free the array of connectors

That's an array we allocated earlier in this function. Let's be symetric
and free it once done.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau 2013-09-04 14:21:55 +01:00
parent 66477a230f
commit 5d99634913

View File

@ -457,6 +457,8 @@ int update_display(void)
}
}
free(connectors);
drmModeFreeResources(resources);
return 1;
}