|
From: | Alex Bennée |
Subject: | Re: [PATCH v2 0/2] plugins: Freeing allocated values in hash tables. |
Date: | Mon, 26 Apr 2021 17:57:30 +0100 |
User-agent: | mu4e 1.5.12; emacs 28.0.50 |
Mahmoud Mandour <ma.mandourr@gmail.com> writes: > A hash table made using ``g_hash_table_new`` requires manually > freeing any dynamically allocated keys/values. The two patches > in this series fixes this issue in hotblocks and hotpages plugins. > > v1 -> v2: Added a freeing function to hotpages instead of freeing > the sorted list. That's probably better because the sorted list > is only made on having ``counts != NULL`` and ``counts`` has a next > pointer so essentially at least 2 elements in the list. Queued to plugins/next, thanks. -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |