mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
style
This commit is contained in:
parent
926fbe5354
commit
bc1c47e81b
7 changed files with 25 additions and 26 deletions
|
@ -3621,12 +3621,12 @@ TRex *trex_compile(const TRexChar *pattern, const TRexChar **error, int flags) {
|
|||
exp->_first = trex_newnode(exp, OP_EXPR);
|
||||
exp->_error = error;
|
||||
exp->_jmpbuf = malloc(sizeof(jmp_buf));
|
||||
|
||||
|
||||
if (exp->_jmpbuf == NULL) {
|
||||
trex_free(exp);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
exp->_flags = flags;
|
||||
if (setjmp(*((jmp_buf *)exp->_jmpbuf)) == 0) {
|
||||
int res = trex_list(exp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue