fixed coverity warning message (ua_list_removeLast, null pointer derefencing)