poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fix a small memory leak


From: Bruno Haible
Subject: fix a small memory leak
Date: Sat, 27 Jun 2020 16:14:12 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-179-generic; KDE/5.18.0; x86_64; ; )

'line' is being free()ed when it is non-empty but not when it is empty.
This is the kind of bugs that convinced me to avoid 'continue' statements
and prefer plain 'if' instead.

Attachment: 0001-Fix-a-small-memory-leak.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]