Skip to content
Commit fee1863c authored by Thomas Mühlbacher's avatar Thomas Mühlbacher Committed by Yu Watanabe
Browse files

man: Don't leak memory in path-documents example

The `sd_path_lookup(3)` man page states that the returned string shall be
`free(3)`'d but then doesn't do so in the example code.

Also add basic error handling as well.
parent 827d1ba7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment