On 2012-02-01 17:00, Christian Costa wrote:
In that case you don't need the if (!err) condition to free the bufferotherwise you leak the string return by strdup.
Yeah, I didn't think this through and screwed up. :PI also noticed now that Jörg Höhle already deemed this strdup solution ugly in his previous try. Luckily Michael Stefaniuc sent a finer patch #83376.
-- Lauri Kenttä
