summaryrefslogtreecommitdiff
path: root/src/bin/edje/epp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/edje/epp')
-rw-r--r--src/bin/edje/epp/cpplib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/edje/epp/cpplib.c b/src/bin/edje/epp/cpplib.c
index d7bde9de68..75befb5345 100644
--- a/src/bin/edje/epp/cpplib.c
+++ b/src/bin/edje/epp/cpplib.c
@@ -7115,7 +7115,6 @@ read_token_list(cpp_reader * pfile, int *error_flag)
7115 memcpy(temp->name, (char *)(pfile->token_buffer + name_written), 7115 memcpy(temp->name, (char *)(pfile->token_buffer + name_written),
7116 length); 7116 length);
7117 temp->name[length] = 0; 7117 temp->name[length] = 0;
7118 temp->next = token_ptrs;
7119 token_ptrs = temp; 7118 token_ptrs = temp;
7120 temp->length = length; 7119 temp->length = length;
7121 7120
@@ -7125,8 +7124,10 @@ read_token_list(cpp_reader * pfile, int *error_flag)
7125 { /* FIXME */ 7124 { /* FIXME */
7126 cpp_error(pfile, 7125 cpp_error(pfile,
7127 "unterminated token sequence following `#' operator"); 7126 "unterminated token sequence following `#' operator");
7127 free(temp);
7128 return 0; 7128 return 0;
7129 } 7129 }
7130 temp->next = token_ptrs;
7130 } 7131 }
7131 7132
7132 /* We accumulated the names in reverse order. 7133 /* We accumulated the names in reverse order.