aboutsummaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-25 20:28:52 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-25 20:28:52 +0100
commit679fac1f8be87ccb431d1ce981e98bdbfbd61dd8 (patch)
tree21aa433f8491bdf88820cfa4722a2f91a09e8730 /src/commands.h
parent3bc44cb7ee1f27d1e0183b82be6ba6b9c05e837c (diff)
downloadnissy-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 'src/commands.h')
-rw-r--r--src/commands.h1
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
9void free_args(CommandArgs *args); 9void free_args(CommandArgs *args);
10CommandArgs * new_args();
10 11
11extern Command * commands[NCOMMANDS]; 12extern Command * commands[NCOMMANDS];
12 13

Generated with cgit - Back to sebastiano.tronto.net