Should fix mysterious crashes when twiddling mount points. Too
much Marrakesh sun.
Pointed out by Owain G. Ainsworth. Thanks!
-/* $OpenBSD: editor.c,v 1.284 2014/04/21 08:19:38 krw Exp $ */
+/* $OpenBSD: editor.c,v 1.285 2014/05/02 12:43:10 krw Exp $ */
/*
* Copyright (c) 1997-2000 Todd C. Miller <Todd.Miller@courtesan.com>
if (mp == NULL)
return;
- for (part == 0; part < MAXPARTITIONS; part++)
+ for (part = 0; part < MAXPARTITIONS; part++)
free(mp[part]);
free(mp);