[PATCH] Obvious bugfix for yenta resource allocation