Compare commits
No commits in common. "c0fa7879b2c6674353ddf781a349825f19c5b996" and "21ffd343e1649fd2440840b3648d66691955b0e8" have entirely different histories.
c0fa7879b2
...
21ffd343e1
|
@ -34,14 +34,6 @@ typedef struct {
|
|||
|
||||
#define PKGCONF_LIST_INITIALIZER { NULL, NULL, 0 }
|
||||
|
||||
static inline void
|
||||
pkgconf_list_zero(pkgconf_list_t *list)
|
||||
{
|
||||
list->head = NULL;
|
||||
list->tail = NULL;
|
||||
list->length = 0;
|
||||
}
|
||||
|
||||
static inline void
|
||||
pkgconf_node_insert(pkgconf_node_t *node, void *data, pkgconf_list_t *list)
|
||||
{
|
||||
|
|
|
@ -268,8 +268,6 @@ pkgconf_path_free(pkgconf_list_t *dirlist)
|
|||
free(pnode->path);
|
||||
free(pnode);
|
||||
}
|
||||
|
||||
pkgconf_list_zero(dirlist);
|
||||
}
|
||||
|
||||
static char *
|
||||
|
|
|
@ -390,6 +390,4 @@ pkgconf_tuple_free(pkgconf_list_t *list)
|
|||
|
||||
PKGCONF_FOREACH_LIST_ENTRY_SAFE(list->head, next, node)
|
||||
pkgconf_tuple_free_entry(node->data, list);
|
||||
|
||||
pkgconf_list_zero(list);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue