blob: 5ccf5f3e0ef1ba92f6a505c5993ef291e0624848 [file] [log] [blame]
// Copyright 2019 Joe Drago. All rights reserved.
// SPDX-License-Identifier: BSD-2-Clause
#include "avif/avif.h"
#include <assert.h>
#include <stdlib.h>
void * avifAlloc(size_t size)
{
assert(size != 0); // Implementation-defined. See https://en.cppreference.com/w/cpp/memory/c/malloc
return malloc(size);
}
void avifFree(void * p)
{
free(p);
}