Re: [acassen/keepalived] 268dcc: Avoided leaked useless memory

jan <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
Hi,

Consider to use FREE macro instead of free,
when running in debug mode we will have false unreleased memory 
detection when using free.


2015-06-23 13:57 skrev Alexandre Cassen:
> Branch: refs/heads/master
>   Home:   https://github.com/acassen/keepalived
>   Commit: 268dccd2c0646017b61a53759c544e90d79cbfc5
> 
> https://github.com/acassen/keepalived/commit/268dccd2c0646017b61a53759c544e90d79cbfc5
>   Author: Gu Feng <[email protected]>
>   Date:   2015-06-23 (Tue, 23 Jun 2015)
> 
>   Changed paths:
>     M lib/parser.c
> 
>   Log Message:
>   -----------
>   Avoided leaked useless memory
> 
> 
>   Commit: 07fd616b621a44672d43d1227a3d32f0a7ad4ab3
> 
> https://github.com/acassen/keepalived/commit/07fd616b621a44672d43d1227a3d32f0a7ad4ab3
>   Author: Gu Feng <[email protected]>
>   Date:   2015-06-23 (Tue, 23 Jun 2015)
> 
>   Changed paths:
>     M lib/parser.c
> 
>   Log Message:
>   -----------
>   More reasonable to use real 'size' parameter instead of 'MAXBUF'
> 
> 
>   Commit: b2dbe9e7467a9c76dc4f6d2b0210c07f8fac24d4
> 
> https://github.com/acassen/keepalived/commit/b2dbe9e7467a9c76dc4f6d2b0210c07f8fac24d4
>   Author: Alexandre Cassen <[email protected]>
>   Date:   2015-06-23 (Tue, 23 Jun 2015)
> 
>   Changed paths:
>     M lib/parser.c
> 
>   Log Message:
>   -----------
>   Merge pull request #163 from flygoast/master
> 
> Avoided leaked useless memory
> 
> 
> Compare:
> https://github.com/acassen/keepalived/compare/71f1379647f7...b2dbe9e7467a
> 
> ------------------------------------------------------------------------------
> Monitor 25 network devices or servers for free with OpManager!
> OpManager is web-based network management software that monitors
> network devices and physical & virtual servers, alerts via email & sms
> for fault. Monitor 25 devices for free with no restriction. Download 
> now
> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
> 
> _______________________________________________
> Keepalived-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/keepalived-devel



//Jan Holmberg

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.