/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/unit/unit1330.c
34 строки
1 KB
Viktor Szakats
tidy-up: rename `Curl_safefree()`/`tool_safefree()` to `curlx_safefree()`
01 апр 2026, 20:53
01 апр 2026, 20:53
0df6c01
Код
Авторство
О чём код?
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also available at https://curl.se/docs/copyright.html. * * You may opt to use, copy, modify, merge, publish, distribute and/or sell * copies of the Software, and permit persons to whom the Software is * furnished to do so, under the terms of the COPYING file. * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY * KIND, either express or implied. * * SPDX-License-Identifier: curl * ***************************************************************************/ #include "unitcheck.h" static CURLcode test_unit1330(const char *arg) { UNITTEST_BEGIN_SIMPLE char *ptr = curlx_malloc(1330); curlx_safefree(ptr); UNITTEST_END_SIMPLE }