Skip to content
Snippets Groups Projects
Commit 7049fbf7 authored by Simon McVittie's avatar Simon McVittie
Browse files

inspect-library: Make memory management more obvious


We were relying on the fact that strsep(&line, ...) resets line to NULL
when it reaches the end, which is not at all obvious. Swap the roles
of the variables around.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 2120ed8f
No related branches found
No related tags found
2 merge requests!21inspect-library: Add support for consuming deb-symbols(5) files,!20inspect-library: various fixes
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment