assert_string_equal(queue->tail->data, second_string);  I suspect you fail.