Check memory leak
authorSung-jae Park <nicesj.park@samsung.com>
Sun, 1 Jul 2012 05:30:08 +0000 (14:30 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Mon, 2 Jul 2012 01:17:32 +0000 (10:17 +0900)
Please check this URL.
http://git.futuremobile.net/?p=heap-monitor&a=summary

The heap monitor is now available.
But it is not stablized yet.
(Not yet published, has no public git repository)

Differences between small(written by the SE team) tool

1. Faster than the "small(SE)".
   This heap monitor is aimed to be used by the running process.
   So this library should be optimized as possible as to reduce the
   performance penalty.
   But the small is aimed to be check the memory leak as a tool.
   It is a big difference.

2. This is only usable by GLIBC and ELF(not EFL) based system.
   This library crawling the ELF header(Program header) to find the
   memory region of address location.

3. This library has false alaram.
   So we cannot trust all statistics fully.
   It depends on the value in the stack.
   So if the stack contains some special values, the module detection
   can go wrong.

Change-Id: I95c13bd2410420b055f4b603afa9475d4b91d7d6

debian/changelog
packaging/com.samsung.data-provider-master.spec
src/slave_rpc.c

index 89684e8..9b17ddf 100644 (file)
@@ -1,3 +1,10 @@
+data-provider-master (0.4.1) unstable; urgency=low
+
+  * Git: slp/pkgs/d/data-provider-master
+  * Tag: data-provider-master_0.4.1
+
+ -- Sung-jae Park <nicesj.park@samsung.com>  Mon, 02 Jul 2012 10:17:09 +0900
+
 data-provider-master (0.4.0) unstable; urgency=low
 
   * Git: slp/pkgs/d/data-provider-master
index cf799d1..48a9185 100644 (file)
@@ -1,6 +1,6 @@
 Name: com.samsung.data-provider-master
 Summary: Master data provider
-Version: 0.4.0
+Version: 0.4.1
 Release: 1
 Group: main/app
 License: Samsung Proprietary License
index f5196dd..94982dc 100644 (file)
@@ -332,10 +332,12 @@ int slave_rpc_async_request(struct slave_node *slave, const char *pkgname, struc
        if (!slave_rpc_is_valid(rpc)) {
                DbgPrint("RPC info is not ready to use, push this to pending list\n");
                rpc->pending_list = eina_list_append(rpc->pending_list, command);
+               packet_unref(packet);
                return 0;
        }
 
        push_command(command);
+       packet_unref(packet);
        return 0;
 }