Bug 18123 - Утечка памяти в gkrellm
Summary: Утечка памяти в gkrellm
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: gkrellm (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Grigory Ustinov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-06 19:06 MSK by Vitaly Lipatov
Modified: 2008-12-12 17:39 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Lipatov 2008-12-06 19:06:49 MSK
Daniel Colascione schrieb:
> diff -u /tmp/old-clock.c /net/home/danc/rpm/BUILD/gkrellm-2.3.1/src/clock.c
> --- /src/clock.c      2008-09-25 20:03:55.000000000 -0400
> +++ /net/home/danc/rpm/BUILD/gkrellm-2.3.1/src/clock.c        2008-09-25 
> 20:07:52.000000000 -0400
> @@ -396,6 +396,7 @@
>               }
>       gkrellm_draw_decal_markup(pclock, d_clock, clock_string);
>       gkrellm_draw_panel_layers(pclock);
> +     g_free(clock_string);
>       }
>  

Good catch, fortunately that one's already fixed in current sources. 
GKrellM 2.3.2 will contain this (and other) fixes.

Bye
Stefan aka mETz

Думаю, достаточно собрать версию 2.3.2
Comment 1 Andrey Rahmatullin 2008-12-06 19:44:19 MSK
Я фиксил это в 2.3.1-alt2 и отправлял патч в апстрим.
Comment 2 Vitaly Lipatov 2008-12-12 17:36:07 MSK
У меня утекает gkrellm-2.3.1-alt3
где-то метров на 150 за неделю.
Может всё-таки обновить до 2.3.2?
Comment 3 Andrey Rahmatullin 2008-12-12 17:39:56 MSK
(In reply to comment #2)
> У меня утекает gkrellm-2.3.1-alt3
> где-то метров на 150 за неделю.
Ну так а при чём здесь данный патч?
Утекать может любой из плагинов, а также любой незадействованный у меня код 2.3.1. Мой 2.3.1 с моими патчами не течёт, я проверял. Юзай valgrind.