summaryrefslogtreecommitdiff
path: root/tests/auto/valgrind/memcheck/testapps/leak3/main.cpp
blob: 0b1b1b4b714957b19a5d1649f5920b73667a1632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include <string.h>

char *lower;

int main()
{
    lower = strdup("asdf");

    return 0;
}