I attached a patch that should fix some memory leaks I've had while using
gsttividdec and gsttiauddec.
My small memory platform were not able to play a full 2hours length movie as it
failed to allocate more memory.
Can somebody please review this patch ?