770a57922c
[ Upstream commit 8cf9c5051076e0eb958f4361d50d8b0c3ee6691c ]
In tpg_alloc, resources should be deallocated in each and every
error-handling paths, since they are allocated in for statements.
Otherwise there would be memleaks because tpg_free is called only when
tpg_alloc return 0.
Fixes:
|
||
---|---|---|
.. | ||
b2c2 | ||
saa7146 | ||
siano | ||
v4l2-tpg | ||
videobuf2 | ||
Kconfig | ||
Makefile | ||
btcx-risc.h | ||
cx2341x.c | ||
cypress_firmware.c | ||
cypress_firmware.h | ||
ttpci-eeprom.c | ||
ttpci-eeprom.h | ||
tveeprom.c |