Okay, use malloc for xframe