Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src
Modified Files:
ewl_theme.c
Log Message:
fixed a memleak in the theme handling code
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_theme.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- ewl_theme.c 28 Jan 2004 04:13:38 -0000 1.54
+++ ewl_theme.c 3 Feb 2004 19:55:26 -0000 1.55
@@ -332,17 +332,10 @@
ret = ewd_hash_get(cached_theme_data, temp);
if (!ret) {
- if (theme_db) {
- /*
- * strdup here to stay consistent with edje
- */
+ if (theme_db)
ret = e_db_str_get(theme_db, temp);
- if (ret)
- ret = strdup(ret);
- }
- else {
+ else
ret = edje_file_data_get(theme_path, temp);
- }
if (ret && ewl_config.theme.cache) {
if (!cached_theme_data)
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs