Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8997809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:56:21+00:00 2026-06-15T23:56:21+00:00

Im getting this result from Valgrind: ==24810== HEAP SUMMARY: ==24810== in use at exit:

  • 0

Im getting this result from Valgrind:

    ==24810== HEAP SUMMARY:
    ==24810==     in use at exit: 0 bytes in 0 blocks
    ==24810==   total heap usage: 9 allocs, 6 frees, 0 bytes allocated
    ==24810== 
    ==24810== LEAK SUMMARY:
    ==24810==    definitely lost: 0 bytes in 0 blocks
    ==24810==    indirectly lost: 0 bytes in 0 blocks
    ==24810==      possibly lost: 0 bytes in 0 blocks
    ==24810==    still reachable: 0 bytes in 0 blocks
    ==24810==         suppressed: 0 bytes in 0 blocks

It says no memory was leaked. It looks to me as a good result. But, what about these 9 allocs, 6 frees? It looks like I haven’t free’d some memory somewhere. I checked the code, and there are 3 global const pointers. Maybe they weren’t considered as errors but printed as not free’d?

Should I worry about this or should I considered the code buggless?
Thank you all.
….Just trying to understand all that ANSI C hassle with pointers and memory allocations :)))

maxim

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T23:56:22+00:00Added an answer on June 15, 2026 at 11:56 pm

    in valgrind website http://valgrind.org/docs/manual/quick-start.html#quick-start.interpret

    “definitely lost”: your program is leaking memory — fix it!

    “probably lost”: your program is leaking memory, unless you’re doing
    funny things with pointers (such as moving them to point to the middle
    of a heap block).

    So for your case your program should be good.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am just getting the result from a query like this user_id 108 183
I keep getting undefined as result from returning the variable inside a function. This
I'm consistently getting this result back from BigQuery: { error: { errors: [ {
I am getting an exception when I execute this code: var result = from
I'm not getting the result expect from the following code: #!/bash/perl use strict; use
Why am I getting this result? [TestMethod] public void nan_test() { Assert.AreEqual(1, double.NaN, 1E-1);
I am getting this result when trying to access my twitter feed with PHP:
Hi I have this Query and I'm getting an empty result, Anyone see anything
In my graph Api for facebook.. I am getting this data.. from Json.. updated_time
I'm trying to format a result from a program but getting an hard time.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.