Changeset 2964

Show
Ignore:
Timestamp:
02/15/07 00:54:39
Author:
chipx86
Message:

Fix a bug in notify_notification_add_action where the function to free the user data was never called, causing memory leaks. This fixes bug #119.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libnotify/ChangeLog

    r2954 r2964  
     1Thu Feb 15 00:52:56 PST 2007  Christian Hammond <chipx86@chipx86.com> 
     2 
     3    * libnotify/notification.c: 
     4      - Fix a bug in notify_notification_add_action where the function 
     5        to free the user data was never called, causing memory leaks. 
     6        This fixes bug #119. 
     7 
    18Mon Nov 13 23:42:07 PST 2006  Christian Hammond <chipx86@chipx86.com> 
    29 
  • trunk/libnotify/docs/reference/tmpl/notification.sgml

    r2827 r2964  
    6767</para> 
    6868 
     69<!-- ##### ARG NotifyNotification:status-icon ##### --> 
     70<para> 
     71 
     72</para> 
     73 
    6974<!-- ##### ARG NotifyNotification:summary ##### --> 
    7075<para> 
  • trunk/libnotify/libnotify/notification.c

    r2935 r2964  
    11961196    pair->cb = callback; 
    11971197    pair->user_data = user_data; 
     1198    pair->free_func = free_func; 
    11981199    g_hash_table_insert(priv->action_map, g_strdup(action), pair); 
    11991200