mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge b89e9dd0d8
into 3dd4d417be
This commit is contained in:
commit
549d19e0cb
|
@ -693,7 +693,8 @@ static PyObject *elffile_secbyidx(struct elffile *w, Elf_Scn *scn, size_t idx)
|
|||
}
|
||||
|
||||
ret = w->sects[idx];
|
||||
Py_INCREF(ret);
|
||||
if (ret)
|
||||
Py_INCREF(ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue