Skip to content
Commit 90db7382 authored by Timo Juhani Lindfors's avatar Timo Juhani Lindfors Committed by Thomas Haller
Browse files

service: fix memory leak introduced in parse_challenge()

Make sure that failure_reason is free'd by refactoring the code so
that the parent function handles allocation and parse_challenge only
parses the challenge, not the whole error message.

https://mail.gnome.org/archives/networkmanager-list/2017-April/msg00007.html

[thaller@redhat.com: fix whitespace and idiomatic commit message subject]

Fixes: 5b96fecb
parent 5b96fecb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment