Enlightenment CVS committal

Author  : englebass
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/conf_keybindings


Modified Files:
        e_int_config_keybindings.c 


Log Message:
Need to strdup the params, as they are free'd later.

===================================================================
RCS file: 
/cvs/e/e17/apps/e/src/modules/conf_keybindings/e_int_config_keybindings.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- e_int_config_keybindings.c  29 Oct 2007 06:26:12 -0000      1.8
+++ e_int_config_keybindings.c  31 Oct 2007 20:03:21 -0000      1.9
@@ -93,7 +93,7 @@
                             "enlightenment/keys", 0, v, NULL);
    if ((params) && (params[0]))
      {
-       cfd->cfdata->params = params;
+       cfd->cfdata->params = strdup(params);
        _add_key_binding_cb(cfd->cfdata, NULL);
      }
 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to