StackOverflow Questions for Tag: realloc

sampathA
sampathA

Reputation: 21

Handling multiple memory mangers in C++

Score: 1

Views: 58

Answers: 0

Read More
user4221591
user4221591

Reputation: 2180

realloc function dynamic array size more than stated

Score: 2

Views: 88

Answers: 1

Read More
BB_bUrns
BB_bUrns

Reputation: 11

Why does realloc(NULL, size) call my malloc wrapper, but realloc(ptr, 0) does not call my free wrapper?

Score: 0

Views: 106

Answers: 2

Read More
tvxth
tvxth

Reputation: 1

realloc fails when running ./out.exe via Makefile, but works when run manually

Score: 0

Views: 131

Answers: 1

Read More
Lundin
Lundin

Reputation: 214760

realloc(ptr, 0) in C23 - now what?

Score: 32

Views: 884

Answers: 2

Read More
user7783026
user7783026

Reputation:

using realloc for high performance with an array of structs

Score: 2

Views: 909

Answers: 2

Read More
Force Security
Force Security

Reputation: 1

How realloc works passed 0 size as argument

Score: 0

Views: 53

Answers: 1

Read More
user720694
user720694

Reputation: 2075

realloc() invalid old size

Score: 9

Views: 28104

Answers: 5

Read More
fwamingo 273
fwamingo 273

Reputation: 23

Issue with using realloc - not getting expected amount of memory

Score: 2

Views: 89

Answers: 1

Read More

How can i do a double pointer (char **ptr) like an array of infinity pointers (pointers with no length limit)?

Score: 0

Views: 78

Answers: 3

Read More
PublicEnemy0
PublicEnemy0

Reputation: 3

Is there any way at all to get the size of a dynamic array with sizeof()?

Score: 0

Views: 93

Answers: 1

Read More
smolloy
smolloy

Reputation: 368

Realloc fails, but only when a printf statement is used: "invalid next size"

Score: 1

Views: 113

Answers: 1

Read More
bodacydo
bodacydo

Reputation: 79509

How do you 'realloc' in C++?

Score: 104

Views: 114485

Answers: 4

Read More
Kosmo零
Kosmo零

Reputation: 4151

Does c++ realloc function applies delete operation for old data block if moving data to different block?

Score: 1

Views: 2126

Answers: 4

Read More
pasignature
pasignature

Reputation: 585

How do you easily differentiate the use of * as a pointer, * as a de-reference operator, * as a multiplication operator in C?

Score: 1

Views: 722

Answers: 1

Read More
Sirox
Sirox

Reputation: 1

realloc zeroes parts of previously allocated memory

Score: 0

Views: 78

Answers: 2

Read More
Mori
Mori

Reputation: 31

Is it efficient to use realloc to free up small chunks of memory C++

Score: 0

Views: 123

Answers: 2

Read More
Abhijeet Mohapatra
Abhijeet Mohapatra

Reputation: 35

Getting error: "munmap_chunk(): invalid pointer" for the following code

Score: 0

Views: 64

Answers: 1

Read More
Tangsten
Tangsten

Reputation: 1

C Double Pointer Reallocation program hangs upon being ran twice in a row

Score: 0

Views: 74

Answers: 1

Read More
XOpt 6
XOpt 6

Reputation: 11

How do I solve "realloc(): invalid next size" error?

Score: 0

Views: 77

Answers: 0

Read More
PreviousPage 1Next