mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-13 02:46:23 +00:00
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:
parent
66477a230f
commit
5d99634913
@ -457,6 +457,8 @@ int update_display(void)
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(connectors);
|
||||||
drmModeFreeResources(resources);
|
drmModeFreeResources(resources);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user