cedric pushed a commit to branch master.
commit ac260575195900a532c3e3102e03a025d3a7cd98
Author: Cedric Bail <[email protected]>
Date: Mon Aug 12 08:42:55 2013 +0900
edje: forgotten refcounting of Eina_File use.
---
src/lib/edje/edje_cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/edje/edje_cache.c b/src/lib/edje/edje_cache.c
index 100ca55..4a335c4 100644
--- a/src/lib/edje/edje_cache.c
+++ b/src/lib/edje/edje_cache.c
@@ -324,7 +324,7 @@ _edje_file_open(Eina_File *f, const char *coll, int
*error_ret, Edje_Part_Collec
return NULL;
}
- edf->f = f;
+ edf->f = eina_file_dup(f);
edf->ef = ef;
edf->mtime = mtime;
#ifdef HAVE_EIO
--
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk