Anders Waldenborg wrote: > How am I supposed to handle freeing of resources allocated from inside > of python? > > t = malloc(10); > ret = x + 1 > free(t) Use try-finally. Stefan