Bug 18123

Summary: Утечка памяти в gkrellm
Product: Sisyphus Reporter: Vitaly Lipatov <lav>
Component: gkrellmAssignee: Grigory Ustinov <grenka>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: grenka
Version: unstable   
Hardware: all   
OS: Linux   

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.