Changeset 4273

Show
Ignore:
Timestamp:
12/30/06 05:08:40 (8 years ago)
Author:
mmh
Message:

Fix a memory leak in the scanner that occurs when we're missing a closing quote
before an immediate EOF.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/lib/conf-lex.l

    r4236 r4273  
    277277                  strcpy(sensors_lex_error, 
    278278                        "Reached end-of-file without a matching double quote."); 
     279                  buffer_free(); 
    279280                  BEGIN(MIDDLE); 
    280281                  return ERROR;