Message ID | 1378494530-3600-11-git-send-email-damien.lespiau@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/tests/testdisplay.c b/tests/testdisplay.c index 3a9eab7..00d777a 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -457,6 +457,8 @@ int update_display(void) } } + + free(connectors); drmModeFreeResources(resources); return 1; }
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> --- tests/testdisplay.c | 2 ++ 1 file changed, 2 insertions(+)