fix memory leak
authorHyungdeuk Kim <hd3.kim@samsung.com>
Thu, 11 Apr 2013 01:59:25 +0000 (10:59 +0900)
committerHyungdeuk Kim <hd3.kim@samsung.com>
Thu, 11 Apr 2013 01:59:25 +0000 (10:59 +0900)
Change-Id: I0aa710f91564f5b4bf66561493741940debfd1e2

packaging/syspopup.spec
syspopup/syspopup.c

index a5d766e..9cc02bc 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       syspopup
 Summary:    syspopup package
-Version:    0.0.90
+Version:    0.0.91
 Release:    1
 Group:      System/Libraries
 License:    Apache License, Version 2.0
@@ -107,4 +107,4 @@ touch %{buildroot}%{_datadir}/popup_noti_term
 
 %changelog
 * Tue Apr 2 2013 - Hyugdeuk Kim <hd3.kim@samsung.com>
-- Add syspopup_reset_timeout api
\ No newline at end of file
+- Add syspopup_reset_timeout api
index fc14f5a..a8d5f2d 100755 (executable)
@@ -449,6 +449,7 @@ API int syspopup_reset_timeout(bundle *b, unsigned int time)
                }
                info->timeout = time;
                ret = _syspopup_reset_timeout(sp, info);
+               _syspopup_info_free(info);
        }
 
        return ret;