Merge pclsync and poverlay_linux (#46)

* fixed 2 of the 3 memory leaks

* fixed more memleaks

* more leaks

* another one

* BUGHUNT mode to look for more mem leaks

* merge poverlay_linux and pclsync
This commit is contained in:
Levi Neely 2024-08-18 15:09:21 +02:00 committed by GitHub
parent 8d3c496754
commit 0a3b596492
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
CFLAGS=-fPIC -Wall -O0 -g -fsanitize=address -I./pclsync -I./poverlay_linux -I/usr/include -I/usr/include/mbedtls2 CFLAGS=-fPIC -Wall -O0 -g -fsanitize=address -I./pclsync -I/usr/include -I/usr/include/mbedtls2
LDFLAGS=-lboost_program_options -lssl -lcrypto -lfuse -lpthread -ludev -lsqlite3 -lz -l:libmbedtls.so.14 -l:libmbedx509.so.1 -l:libmbedcrypto.so.7 LDFLAGS=-lboost_program_options -lssl -lcrypto -lfuse -lpthread -ludev -lsqlite3 -lz -l:libmbedtls.so.14 -l:libmbedx509.so.1 -l:libmbedcrypto.so.7
CMDSRC=control_tools.cpp pclsync_lib_c.cpp pclsync_lib.cpp main.cpp CMDSRC=control_tools.cpp pclsync_lib_c.cpp pclsync_lib.cpp main.cpp
DESTDIR=/usr/local DESTDIR=/usr/local
LIBSRC=$(wildcard pclsync/*.c poverlay_linux/*.c) LIBSRC=$(wildcard pclsync/*.c)
LIBOBJ = $(LIBOBJ:%.c=%.o) LIBOBJ = $(LIBOBJ:%.c=%.o)
all: libpcloudcc_lib.so pcloudcc all: libpcloudcc_lib.so pcloudcc