triggers: plug memory leak
modified libpkg/triggers.c
@@ -431,7 +431,7 @@ trigger_execute_lua(const char *script, bool sandbox, pkghash *args)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -542,7 +542,7 @@ triggers_execute(struct trigger *cleanup_triggers)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -585,7 +585,8 @@ append_touched_file(const char *path)
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -631,8 +632,7 @@ exec_deferred(int dfd, const char *name)
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|