[Top][All Lists]

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

console-client/xkb/compose.c (read_composefile): fclose

From: Miguel Figueiredo
Subject: console-client/xkb/compose.c (read_composefile): fclose
Date: Sat, 01 Jun 2013 11:05:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130518 Icedove/17.0.5

2013-06-01 Miguel Figueiredo <elmig@debianpt.org>

* console-client/xkb/compose.c (read_composefile): fclose

iiuc parse_composefile always returns 0 and this makes the if(err) not executing the fclose.
cppcheck reported this as memory leak.

Melhores cumprimentos/Best regards,

Miguel Figueiredo

Attachment: read_composefile.diff
Description: Text Data

reply via email to

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