Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Nov 15, 2024
1 parent e177301 commit 604fd95
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/main/policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,18 @@
"from policy dictionary"); \
} \
Py_DECREF(py_field_name); \
if (convert_exp_list(self, py_exp_list, &exp_list, err) == \
AEROSPIKE_OK) { \
policy->filter_exp = exp_list; \
*exp_list_p = exp_list; \
} \
else { \
if (retval == 1) { \
if (convert_exp_list(self, py_exp_list, &exp_list, err) == \
AEROSPIKE_OK) { \
policy->filter_exp = exp_list; \
*exp_list_p = exp_list; \
} \
else { \
Py_DECREF(py_exp_list); \
return err->code; \
} \
Py_DECREF(py_exp_list); \
return err->code; \
} \
Py_DECREF(py_exp_list); \
} \
}

Expand Down

0 comments on commit 604fd95

Please sign in to comment.