Posts by dekmalunedek • 41 points
1 post
-
4
votes2
answers1128
viewsQ: free(): invalid next size (fast) while trying to free up memory
I have this struct in a data structure and need to free up memory with it used: typedef struct { int capacityOfElements; //capacidade do vetor int numberOfElements; //número de elementos presentes…