aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_win.c
diff options
context:
space:
mode:
authorWooHyun Jung <woohyun0705@gmail.com>2011-10-17 06:53:10 +0000
committerWooHyun Jung <woohyun0705@gmail.com>2011-10-17 06:53:10 +0000
commit1df093390c6abd8c91aac2d337bd41345061943e (patch)
treed41d10a64ec4d21193febaaeb2e94deb1b2512c3 /legacy/elementary/src/lib/elm_win.c
parentelm scroller: Added EINA_ARG_NONNULL to API declarations and added (diff)
downloadefl-1df093390c6abd8c91aac2d337bd41345061943e.tar.gz
elementary/elm_win.c : fix small bugs in elm_win.c
SVN revision: 64123
Diffstat (limited to 'legacy/elementary/src/lib/elm_win.c')
-rw-r--r--legacy/elementary/src/lib/elm_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_win.c b/legacy/elementary/src/lib/elm_win.c
index 6f826e00e9..a77c11a4ca 100644
--- a/legacy/elementary/src/lib/elm_win.c
+++ b/legacy/elementary/src/lib/elm_win.c
@@ -148,6 +148,7 @@ _shot_file_get(Elm_Win *win)
sprintf(repname + (dotptr - tmp), "%03i",
win->shot.shot_counter + 1);
strcat(repname, dotptr);
+ free(tmp);
return repname;
}
}
@@ -2616,5 +2617,4 @@ elm_win_xwindow_get(const Evas_Object *obj)
if (win->parent) return elm_win_xwindow_get(win->parent);
#endif
return 0;
- win = NULL;
}