All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz at gmail.com>
To: ell at lists.01.org
Subject: Re: [PATCH 2/5] unit: add settings test for clone APIs
Date: Fri, 04 Feb 2022 11:29:54 -0600	[thread overview]
Message-ID: <fcffef82-bd0c-830f-7054-6a73905c1b5c@gmail.com> (raw)
In-Reply-To: 20220204170603.216439-2-prestwoj@gmail.com

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

Hi James,

On 2/4/22 11:05, James Prestwood wrote:
> ---
>   unit/test-settings.c | 40 +++++++++++++++++++++++++++++++++++++++-
>   1 file changed, 39 insertions(+), 1 deletion(-)
> 

There seems to be a leak somewhere?

TEST: Test clone
==22270==
==22270== HEAP SUMMARY:
==22270==     in use at exit: 1,860 bytes in 14 blocks
==22270==   total heap usage: 599 allocs, 585 frees, 25,152 bytes allocated
==22270==
==22270== 1,860 (40 direct, 1,820 indirect) bytes in 1 blocks are definitely 
lost in loss record 14 of 14
==22270==    at 0x483F7B5: malloc (in 
/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==22270==    by 0x10D88D: l_malloc (util.c:62)
==22270==    by 0x10FCDB: l_settings_new (settings.c:112)
==22270==    by 0x10D565: test_clone (test-settings.c:589)
==22270==    by 0x10E438: l_test_run (test.c:84)
==22270==    by 0x10B5D9: main (test-settings.c:614)

Regards,
-Denis

             reply	other threads:[~2022-02-04 17:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-04 17:29 Denis Kenzior [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-04 17:05 [PATCH 2/5] unit: add settings test for clone APIs James Prestwood

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=fcffef82-bd0c-830f-7054-6a73905c1b5c@gmail.com \
    --to=unknown@example.com \
    /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.