diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-11-25 20:28:52 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-11-25 20:28:52 +0100 |
| commit | 679fac1f8be87ccb431d1ce981e98bdbfbd61dd8 (patch) | |
| tree | 21aa433f8491bdf88820cfa4722a2f91a09e8730 /src/commands.h | |
| parent | 3bc44cb7ee1f27d1e0183b82be6ba6b9c05e837c (diff) | |
| download | nissy-679fac1f8be87ccb431d1ce981e98bdbfbd61dd8.tar.gz nissy-679fac1f8be87ccb431d1ce981e98bdbfbd61dd8.zip | |
Fixed a bug in freeing memory after execution of certain commands (thanks to Tommaso for reporting)
Diffstat (limited to '')
| -rw-r--r-- | src/commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h index f2703fa..938a0bd 100644 --- a/src/commands.h +++ b/src/commands.h | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #define NCOMMANDS 10 | 7 | #define NCOMMANDS 10 |
| 8 | 8 | ||
| 9 | void free_args(CommandArgs *args); | 9 | void free_args(CommandArgs *args); |
| 10 | CommandArgs * new_args(); | ||
| 10 | 11 | ||
| 11 | extern Command * commands[NCOMMANDS]; | 12 | extern Command * commands[NCOMMANDS]; |
| 12 | 13 | ||
