blob: bdddb83e3164c98686a831f41e121ecc671bf887 (
plain) (
tree)
|
|
/* See LICENSE file for copyright and license details. */
#include "common.h"
void
libgamepad_destroy_attachment_monitor(LIBGAMEPAD_ATTACHMENT_MONITOR *monitor)
{
if (monitor) {
if (monitor->monitor)
udev_monitor_unref(monitor->monitor);
if (monitor->udev)
udev_unref(monitor->udev);
free(monitor);
}
}
|