fix memory leaks and label unfinished functions as TODO
fix memory leak of worker.c functions, 1 TODO left
worker.c memory leak fix, 1 biggest function left, correctness checked now
one TODO left
fix memory leaks in worker.c, left one functions TODO because of few branches undefined result
fix part of TODO function
finish worker.c (it seems like for undefined branches in mapper function, *ret_ptr must remain unchanged otherwise the integration test will time out error)
fixing client.c memory leaks
fix first define
client.c fixed 1 todo function
client.c finished
client.c finished, removed TODO comment
all .c files finished but admin.c
fix PyString_FromFormat to err_string with dealloc
fixing admin.c to line 370, to be continued
fix missing success = true
fixing admin.c to line 420
finish admin.c, seems like there is no testing for admin
fix worker.c coding style and few extra leaks, adding comments about whether a function returns a new ref or a borrowed ref
finish coding style fix and all memory leaks that I can find