forked from enlightenment/efl
edje/epp - clean up memory allocated.
This commit is contained in:
parent
e47373aee1
commit
dc945ccb55
|
@ -3892,6 +3892,7 @@ do_error(cpp_reader * pfile, struct directive *keyword EINA_UNUSED,
|
||||||
copy[length] = 0;
|
copy[length] = 0;
|
||||||
SKIP_WHITE_SPACE(copy);
|
SKIP_WHITE_SPACE(copy);
|
||||||
cpp_error(pfile, "#error %s", copy);
|
cpp_error(pfile, "#error %s", copy);
|
||||||
|
free(copy);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3912,6 +3913,7 @@ do_warning(cpp_reader * pfile, struct directive *keyword EINA_UNUSED,
|
||||||
copy[length] = 0;
|
copy[length] = 0;
|
||||||
SKIP_WHITE_SPACE(copy);
|
SKIP_WHITE_SPACE(copy);
|
||||||
cpp_warning(pfile, "#warning %s", copy);
|
cpp_warning(pfile, "#warning %s", copy);
|
||||||
|
free(copy);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue