Removed malloc/free for interrput queue