I\'m writing a Python C API and in my c-code I allocate a double array which I then wrap into a numpy array and send back to Python. The weird thing is that the memory is be