小编Rid*_*e00的帖子

Valgrind无效,内存泄漏

我得到无效的免费和内存泄漏.这是我的代码:

/*=============================================================================
  |
  |  Assignment:  Test #2

  |        Class:  Programming Basics
  |         Date:  December 20th, 2017
  |
  |     Language:  GNU C (using gcc), OS: Arch Linux x86_64)
  |     Version:   0.0
  |   To Compile:  gcc -Wall -xc -g -std=c99 kontrolinis2.c -o kontrolinis_2
  |
  +-----------------------------------------------------------------------------
  |
  |  Description:  The program which gets the input number, which indicates how
  |                many words there will be, then prompts the user to enter
  |                those words, and then displays a histogram in descending 
  |                order …
Run Code Online (Sandbox Code Playgroud)

c valgrind memory-leaks

7
推荐指数
1
解决办法
617
查看次数

标签 统计

c ×1

memory-leaks ×1

valgrind ×1