new: support for local package files
This commit is contained in:
@ -7,6 +7,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <dirent.h>
|
||||
#include <libgen.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
bool lm_pool_list_load(lm_pool_t *pool, char *dir){
|
||||
@ -144,6 +145,8 @@ void lm_pool_list_free(lm_pool_t *pool){
|
||||
while(NULL != cur){
|
||||
prev = cur;
|
||||
cur = cur->next;
|
||||
|
||||
lm_package_free(prev);
|
||||
free(prev);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user