loggerd: fix use after free and memory leaks (#19695)

* fix use after free and memory leaks

* cleanup

* fix typo

Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
Adeeb Shihadeh
2021-01-08 15:39:14 -08:00
committed by GitHub
parent d39d737ae0
commit 6b0890f128
3 changed files with 32 additions and 27 deletions
+2 -2
View File
@@ -7,9 +7,9 @@ libs = ['zmq', 'capnp', 'kj', 'z',
if arch in ["aarch64", "larch64"]:
src += ['encoder.cc']
libs += ['OmxVenc', 'OmxCore', 'gsl', 'CB'] + gpucommon
libs += ['OmxCore', 'gsl', 'CB'] + gpucommon
if arch == "aarch64":
libs += ['cutils']
libs += ['OmxVenc', 'cutils']
else:
libs += ['pthread']
else: