StackOverflow Questions for Tag: realloc

Diogo Ruas
Diogo Ruas

Reputation: 21

Losing the first element of a pointer due to bad memory allocations (i think)

Score: 0

Views: 26

Answers: 0

Read More
vansergh
vansergh

Reputation: 1

How to free memory for an array allocated by malloc?

Score: 0

Views: 124

Answers: 1

Read More
dikiy_opezdal
dikiy_opezdal

Reputation: 39

Downsizing an array using realloc()

Score: 1

Views: 46

Answers: 0

Read More
Brave
Brave

Reputation: 337

Detecting dangling pointer caused by realloc using static analyze tools

Score: 1

Views: 42

Answers: 0

Read More
stfp04
stfp04

Reputation: 59

Problems with memory allocation and input (C)

Score: 1

Views: 42

Answers: 1

Read More
Sotiris
Sotiris

Reputation: 11

Problem using realloc() after calloc().Getting runtime error I do not know how to fix

Score: 0

Views: 125

Answers: 2

Read More
Agent 47
Agent 47

Reputation: 7

Realloc doesn't shrink memory? (C)

Score: 0

Views: 92

Answers: 1

Read More
Jared
Jared

Reputation: 4810

Why is realloc() mysteriously behaving differently when compiled for C++?

Score: 1

Views: 230

Answers: 3

Read More
Lucas Froes
Lucas Froes

Reputation: 7

I'm encountering a puzzling issue in my C program while working with dynamic memory allocation using realloc()

Score: -2

Views: 89

Answers: 1

Read More
chiranjeevi_dk
chiranjeevi_dk

Reputation: 1

What realloc() actually does in this code?

Score: 0

Views: 122

Answers: 4

Read More
Nora Amer
Nora Amer

Reputation: 43

C dynamic memory allocation

Score: 2

Views: 170

Answers: 3

Read More
strtrs
strtrs

Reputation: 1

Dynamic memory allocation in c arrays of structs

Score: 0

Views: 77

Answers: 1

Read More
Cal
Cal

Reputation: 141

How to use virtual memory/implement realloc on mac osx?

Score: 4

Views: 901

Answers: 2

Read More
MegaRK
MegaRK

Reputation: 11

Faced problem to add a new row to a matrix in C. corrupted size vs. prev_size

Score: 1

Views: 93

Answers: 1

Read More

Combined usage of getline, strcat and realloc functions

Score: 1

Views: 77

Answers: 1

Read More
MeSteve
MeSteve

Reputation: 3

Using realloc() instead of fixed-length buffers in c?

Score: 0

Views: 270

Answers: 2

Read More
ErrorEliminator
ErrorEliminator

Reputation: 120

"double free detected in tcache 2" Error while reallocating a pointer to a dynamic array of strings

Score: 0

Views: 242

Answers: 1

Read More
ParthJha17
ParthJha17

Reputation: 31

Value of n sets to 0 or 1 (undefined behavior) while I'm trying to learn use of realloc and malloc

Score: 1

Views: 65

Answers: 1

Read More
Aethalides
Aethalides

Reputation: 417

Why am I getting a heap-use-after-free error?

Score: 1

Views: 758

Answers: 2

Read More
lian
lian

Reputation: 543

Error during memory reallocation inside a function

Score: 0

Views: 108

Answers: 1

Read More
PreviousPage 2Next