Permalink
Browse files

request.c (scan_options): Write new_ instead of new.

Reported by Seanster.
  • Loading branch information...
1 parent 1be6337 commit 1f0a99ca1b5e6ed74862aa3541bf6e0d3b1a8990 @pinard committed Nov 22, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −0 THANKS
  2. +1 −1 src/request.c
View
1 THANKS
@@ -238,6 +238,7 @@ Santiago Vila Doncel | sanvila at unex dot es
Saverio Pangoli | saverio at mystere dot sci dot sns dot it
Sebastian Huebner | cyco at baud dot de
| http://www.baud.de/cyco/
+Seanster | Seanster at Seanster dot com
Scott Schwartz | schwartz at bio dot cse dot psu dot edu
Simon Cozens | simon at cozens dot net
Slaven Rezic | eserte at cs dot tu-berlin dot de
View
@@ -766,7 +766,7 @@ scan_options (RECODE_REQUEST request)
ALLOC (copy, strlen (request->scanned_string) + 1, char);
if (!copy)
{
- free (new);
+ free (new_);
break; /* FIXME: should interrupt decoding */
}
strcpy (copy, request->scanned_string);

0 comments on commit 1f0a99c

Please sign in to comment.