Skip to content

Commit

Permalink
fix an stupid bug when using r_str_newf
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangZhuoSJTU authored and XVilka committed Jun 20, 2017
1 parent 891f113 commit 8e5f215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libr/egg/egg_lang.c
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ R_API int r_egg_lang_parsechar(REgg *egg, char c) {
e->jmp (egg, tmp_ptr, 0);
R_FREE (tmp_ptr); // mem leak
ifelse_table[CTX - 1][nestedi[CTX - 1] - 1] =
r_str_newf (str, 64, "__end_%d_%d_%d",
r_str_newf ("__end_%d_%d_%d",
nfunctions, CTX - 1, nestedi[CTX - 1] - 1);
}
// if (nestede[CTX]) {
Expand Down

0 comments on commit 8e5f215

Please sign in to comment.