![]() |
Re: [ANNOUNCE]Alarm UI replacement
Another version (0.3.1) is out, another memory leak fixed.
|
Re: [ANNOUNCE]Alarm UI replacement
Quote:
|
Re: [ANNOUNCE]Alarm UI replacement
Quote:
|
Re: [ANNOUNCE]Alarm UI replacement
Quote:
|
Re: [ANNOUNCE]Alarm UI replacement
Quote:
The bad news is that it seems this is not the last one :( I would appreciate if you (or someone else) help me find the remaining memory leaks. The other thing that will be very useful, is a list of packages (if any) for which the guy that wrote the stock alarmUI is developer/maintainer. Those should be checked very carefully (if possible) ;) |
Re: [ANNOUNCE]Alarm UI replacement
@freemangordon,
in alarm_remove() you have: Code:
alarm_event_delete(a->alarm_event); Code:
alarm_event_delete(a->alarm_event); |
Re: [ANNOUNCE]Alarm UI replacement
also, in alarm_notify()
sound_file is a strdup'd and then sent to alarm_notify_notification_calendar(), which calls notify_notification_set_hint_string(). Immediately after that, sound_file is g_free()'d. Hopefully notify_notification_set_hint_string() makes a copy of it, as otherwise the pointer to the string will be invalid (hey, could be the reason for some calendar events not ringing :) |
Re: [ANNOUNCE]Alarm UI replacement
in size_request_cb()
according to http://developer.gnome.org/pango/sta...rocessing.html, the object returned by pango_context_get_metrics has to be freed by the caller (pango_font_metrics_unref). This is not the case. You can do it right after calculating "height". |
Re: [ANNOUNCE]Alarm UI replacement
Quote:
Quote:
|
Re: [ANNOUNCE]Alarm UI replacement
Quote:
|
All times are GMT. The time now is 09:03. |
vBulletin® Version 3.8.8