bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] Fixes for 4 memory leaks and one more bug


From: Alexander Potashev
Subject: [bug-gettext] Fixes for 4 memory leaks and one more bug
Date: Fri, 27 May 2011 05:00:20 +0400

Hi,

The first patch fixes a possible data corruption. I have never
experienced any data corruptions, but after reading the code I think
that my patch is necessary to be safe.

The other 4 patches fix different memory leaks. The simplest test
(po_file_read+po_file_free) does not leak at all now.

The patches apply to gettext-0.18.1.1/gettext-tools/src/


-- 
Alexander Potashev

Attachment: 0001-Copy-string-from-shared-buffer.patch
Description: Text Data

Attachment: 0002-Fix-memory-leak-do-not-duplicate-msgid_plural-in-mes.patch
Description: Text Data

Attachment: 0003-Fix-memory-leak-free-msgctxt-in-message_free.patch
Description: Text Data

Attachment: 0004-Fix-memory-leak-po_callback_comment_dispatcher-does-.patch
Description: Text Data

Attachment: 0005-Fix-memory-leak-string_list_append-duplicates-the-st.patch
Description: Text Data


reply via email to

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