Skip to content

Commit

Permalink
route: fix another crash related to f07048c
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Aug 31, 2023
1 parent f07048c commit 242598f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions route.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ void unref_script_route(struct script_route_ref *ref)

int update_script_route_ref(struct script_route_ref *ref)
{
if (!ref)
return;

LM_DBG("updating %p [%.*s], idx=%d, ver/cnt %d\n",
ref, ref->name.len, ref->name.s, ref->idx, ref->u.version);

Expand Down

0 comments on commit 242598f

Please sign in to comment.