Changeset c809f5e


Ignore:
Timestamp:
Mar 24, 2011, 4:06:10 PM (13 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
b13daa0
Parents:
f25df21
git-author:
David Benjamin <davidben@mit.edu> (03/08/11 15:16:37)
git-committer:
David Benjamin <davidben@mit.edu> (03/24/11 16:06:10)
Message:
Use owl_function_command_norv when we don't care about the result

Otherwise, we forget to g_free it.
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • commands.c

    r010a951 rc809f5e  
    12151215  ptr = skiptokens(buff, 1);
    12161216
    1217   owl_function_command(ptr);
     1217  owl_function_command_norv(ptr);
    12181218  owl_function_addstartup(ptr);
    12191219
  • functions.c

    rf25df21 rc809f5e  
    26822682      g_string_append(buf, " *");
    26832683    }
    2684     owl_function_command(buf->str);
     2684    owl_function_command_norv(buf->str);
    26852685    g_string_free(buf, true);
    26862686  }
     
    33103310    if (s[0] == '\0' || s[0] == '#')
    33113311      continue;
    3312     owl_function_command(s);
     3312    owl_function_command_norv(s);
    33133313  }
    33143314
  • owl.c

    r3472845 rc809f5e  
    226226    f=owl_global_get_filter(&g, owl_global_get_alert_filter(&g));
    227227    if (f && owl_filter_message_match(f, m)) {
    228       owl_function_command(owl_global_get_alert_action(&g));
     228      owl_function_command_norv(owl_global_get_alert_action(&g));
    229229    }
    230230
Note: See TracChangeset for help on using the changeset viewer.