All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Konno <joe.konno at linux.intel.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] [PATCH v2 1/8] Properly cleaning up the display tabs
Date: Wed, 22 Oct 2014 07:49:09 -0700	[thread overview]
Message-ID: <5447C3E5.7020404@linux.intel.com> (raw)
In-Reply-To: 20141022121725.GC950@swordfish

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

While I do not agree, I understand.

Irrespective of the OS's handling of allocated memory on exit, I
consider it best practice to free all allocated memory at each and every
program exit point. Call me pedantic, but there it is.

Cheers-- I appreciate your reviews and feedback

On 10/22/2014 05:17 AM, Sergey Senozhatsky wrote:
> 
> free(p) before exit(0) is really useless, the kernel will clean
> up everything.
> 

             reply	other threads:[~2014-10-22 14:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-22 14:49 Joe Konno [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-10-22 12:17 [Powertop] [PATCH v2 1/8] Properly cleaning up the display tabs Sergey Senozhatsky
2014-10-17 22:53 Magnus Fromreide
2014-10-17 18:12 Joe Konno
2014-10-15 12:58 Sergey Senozhatsky
2014-10-14 18:09 Joe Konno

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=5447C3E5.7020404@linux.intel.com \
    --to=powertop@lists.01.org \
    /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.