mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
This function should be used for free'ing an individual Property structure, along with associated data. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
18 lines
378 B
C
18 lines
378 B
C
/* SPDX-License-Identifier: MIT OR X11
|
|
*
|
|
* Copyright © 2024 Enrico Weigelt, metux IT consult <info@metux.net>
|
|
*/
|
|
#include <dix-config.h>
|
|
|
|
#include "dix/property_priv.h"
|
|
#include "include/privates.h"
|
|
#include "include/propertyst.h"
|
|
|
|
void dixPropertyFree(PropertyPtr pr)
|
|
{
|
|
if (pr) {
|
|
free(pr->data);
|
|
dixFreeObjectWithPrivates(pr, PRIVATE_PROPERTY);
|
|
}
|
|
}
|