diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2024-05-27 00:06:45 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2024-05-31 10:46:59 +0000 |
commit | df8287bf6c2febd068d06f0f45194bc622118bd4 (patch) | |
tree | 59c742523f3d86a794684cab50eea167569b01e8 /include | |
parent | bd0551460bc7591329fc17dbec4e160a4a35e812 (diff) |
modem-helpers: do not leak past PDP on error
If CID parsing from the +CGDCONT response fails, the very last PDP
structure allocated is not put on the list yet and therefore
mm_3gpp_pdp_context_list_free() wouldn't free it.
Let's put it on the list first, as to not leak it on error.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions