kconfig: fix memory leak when EOF is encountered in quotation
[carl9170fw.git] / config / zconf.l
index 112a0ee1b0a0c2c6c33354aa24f1ed708066a700..40ccc135fa1d568cba6fb44338374b54a2f954f4 100644 (file)
@@ -221,6 +221,8 @@ n   [A-Za-z0-9_-]
        }
        <<EOF>> {
                BEGIN(INITIAL);
+               yylval.string = text;
+               return T_WORD_QUOTE;
        }
 }