X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fformat.c;h=d22398601bfa8b6e062cf72b8750accb17948b81;hb=e80c032386b6524fe760efc6f10bd9adb8a6ac20;hp=74ee0e2e2ab3379222868ddce40aa1bf4fc795d6;hpb=eeb5800b97c3d4e768fb3f7cbdabf54b3bd162b4;p=pspp diff --git a/src/data/format.c b/src/data/format.c index 74ee0e2e2a..d22398601b 100644 --- a/src/data/format.c +++ b/src/data/format.c @@ -1156,7 +1156,7 @@ fmt_affix_clone (const struct fmt_affix *old) static void fmt_affix_free (struct fmt_affix *affix) { - if (affix->s[0]) + if (affix->s) free (affix->s); }