[fix] moving after filter
commit9104d4d90aa27ff1c10c39424578ee6207266aef
authorafify <hassan@afify.dev>
Sat, 27 Feb 2021 05:56:51 +0000 (27 08:56 +0300)
committerafify <hassan@afify.dev>
Sat, 27 Feb 2021 05:56:51 +0000 (27 08:56 +0300)
tree6030ea34ee594b8c77fda57fc73307f0bb71d2da
parent2fbe272663660dae2786c70a56aba7b27c6c066e
[fix] moving after filter

- problem: start_filter() set cpane->filter then listdir(), listdir
again without setting *filter to NULL and user_input is freed.

- solution: set *filter to NULL after listdir
config.def.h
sfm.c