From: Benno Schulenberg Date: Tue, 13 May 2014 18:31:13 +0000 (+0000) Subject: Weh -- use the correct type. X-Git-Tag: v2.3.3~57 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=678b221c36b8cbbaef60fc40f2973993647403d2;p=nano.git Weh -- use the correct type. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4873 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/global.c b/src/global.c index 29592387..0039215a 100644 --- a/src/global.c +++ b/src/global.c @@ -1688,9 +1688,9 @@ void thanks_for_all_the_fish(void) free(f); } while (sclist != NULL) { - subnfunc *f = sclist; + sc *s = sclist; sclist = sclist->next; - free(f); + free(s); } #ifndef DISABLE_NANORC if (homedir != NULL)