diff options
author | Andrés <andmarti@gmail.com> | 2022-01-16 12:51:57 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2022-01-16 12:51:57 -0300 |
commit | 04c915ee952001665e3db0d585a4d5965b1c0134 (patch) | |
tree | 46c0eefd542649d00b28bb105897e1fa82f72ffc | |
parent | 2db536e44f2eb9fa24b09b7331e39294efa92abe (diff) |
filter.c added comment
-rw-r--r-- | src/actions/filter.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/actions/filter.c b/src/actions/filter.c index 12362b8..67dd5fb 100644 --- a/src/actions/filter.c +++ b/src/actions/filter.c @@ -213,6 +213,11 @@ void show_filters() { * \brief Free memory of entire filters structure * \return int: -1 not removed - 0 removed */ +/* + * FIXME: howmany in the forloop should be the max id, cause: + * you could for instance create 12 filters and remove the filters, 2 to 11. + * howmany would be two there, but filter12 would be allocated. + */ int free_filters() { if (filters == NULL) return -1; int i; |