From: Anders Fugmann <afu@fugmann.dhs.org>
To: "Andriy T.Yanko" <wireless@wireless.org.ua>
Cc: netfilter@lists.netfilter.org
Subject: Re: libipfwc memory leak?
Date: Fri, 27 Sep 2002 22:44:12 +0200 [thread overview]
Message-ID: <3D94C31C.4060207@fugmann.dhs.org> (raw)
In-Reply-To: 20020923173958.631b43b5.wireless@wireless.org.ua
Andriy T.Yanko wrote:
> Hi people!
>
> In libipfwc.c function ipfwc_get_chainnames & ipfwc_get_rules use malloc() but not use free().
> It's maybe ok for program ipchains but in my case is not gut.
>
> How to fix it?
You have to free the structures yourself. If the functions themself
freed the structures, they would not be able to return anything.
This is not an error in libipfwc.
Regards
Anders Fugmann
next prev parent reply other threads:[~2002-09-27 20:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-23 14:39 libipfwc memory leak? Andriy T. Yanko
2002-09-27 20:44 ` Anders Fugmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-24 6:11 Andriy T. Yanko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D94C31C.4060207@fugmann.dhs.org \
--to=afu@fugmann.dhs.org \
--cc=netfilter@lists.netfilter.org \
--cc=wireless@wireless.org.ua \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.