Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualAlexB.hpp

Posted 02 December 2012 - 11:04 AM

Oh, many thanks again.

Looks like I've fixed the old one problem with infinite loop in stl. So... Actually I've done major work on it.

Ok I pretty sure that realloc is ok now.
It does;
new_ptr = realloc(old_ptr, size)
if (!new_ptr) return old_ptr
return new_ptr

I'll read stuff about exceptions. And figure out how it should be.

I have funny stuff as one of my friends said. I have calls of delete on unregistered ptrs :)
Try to erase unregistered pointer 0x82f10f8!
Memory leak summary:
	    operator new (0x82f1008) missed 4 bytes in main.cpp:5
	    operator new [] (0x82f1040) missed 4 bytes in main.cpp:6
	    malloc (0x82f1078) missed 4 bytes in main.cpp:7
	    calloc (0x82f10b0) missed 4 bytes in main.cpp:8
	    realloc (0x82f10e8) missed 8 bytes in main.cpp:10
Total leaked 24 bytes
Try to erase unregistered pointer 0x82f10f8!
Try to erase unregistered pointer 0x82f10c0!
Try to erase unregistered pointer 0x82f1088!
Try to erase unregistered pointer 0x82f1050!
Try to erase unregistered pointer 0x82f1018!

#2AlexB.hpp

Posted 02 December 2012 - 11:04 AM

Oh, many thanks again.

Looks like I've fixed the old one problem with infinite loop in stl. So... Actually I've done major work on it.

Ok I pretty sure that realloc is ok now.
It does;
new_ptr = realloc(old_ptr, size)
if (!new_ptr) return old_ptr
return new_ptr

I'll read stuff about exceptions. And figure out how it should be.

I have funny stuff as one of my friends said. I have calls of free on unregistered ptrs :)
Try to erase unregistered pointer 0x82f10f8!
Memory leak summary:
	    operator new (0x82f1008) missed 4 bytes in main.cpp:5
	    operator new [] (0x82f1040) missed 4 bytes in main.cpp:6
	    malloc (0x82f1078) missed 4 bytes in main.cpp:7
	    calloc (0x82f10b0) missed 4 bytes in main.cpp:8
	    realloc (0x82f10e8) missed 8 bytes in main.cpp:10
Total leaked 24 bytes
Try to erase unregistered pointer 0x82f10f8!
Try to erase unregistered pointer 0x82f10c0!
Try to erase unregistered pointer 0x82f1088!
Try to erase unregistered pointer 0x82f1050!
Try to erase unregistered pointer 0x82f1018!

#1AlexB.hpp

Posted 02 December 2012 - 11:03 AM

Oh, many thanks again.

Looks like I've fixed the old one problem with infinite loop in stl. So... Actually I've done major work on it.

Ok I pretty sure that realloc is ok now.
It does;
new_ptr = realloc(old_ptr, size)
if (!new_ptr) return old_ptr
return new_ptr

I'll read stuff about exceptions. And figure out how it should be.

I have funny stuff as my one of my friends said. I have calls of free on unregistered ptrs :)
Try to erase unregistered pointer 0x82f10f8!
Memory leak summary:
	    operator new (0x82f1008) missed 4 bytes in main.cpp:5
	    operator new [] (0x82f1040) missed 4 bytes in main.cpp:6
	    malloc (0x82f1078) missed 4 bytes in main.cpp:7
	    calloc (0x82f10b0) missed 4 bytes in main.cpp:8
	    realloc (0x82f10e8) missed 8 bytes in main.cpp:10
Total leaked 24 bytes
Try to erase unregistered pointer 0x82f10f8!
Try to erase unregistered pointer 0x82f10c0!
Try to erase unregistered pointer 0x82f1088!
Try to erase unregistered pointer 0x82f1050!
Try to erase unregistered pointer 0x82f1018!

PARTNERS