diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2013-09-04 14:21:55 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2013-09-30 18:04:22 +0100 |
commit | 5d996349137e368c7ad8a3b2ce708c77c006a2db (patch) | |
tree | 9b871c5057f229493d6ae6792b2ae637b5402b65 | |
parent | 66477a230fba36a349783020b77ed4a030f204f5 (diff) |
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>
-rw-r--r-- | tests/testdisplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c index 3a9eab75..00d777af 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -457,6 +457,8 @@ int update_display(void) } } + + free(connectors); drmModeFreeResources(resources); return 1; } |