summaryrefslogtreecommitdiff
path: root/rcm-server-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'rcm-server-main.c')
-rw-r--r--rcm-server-main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rcm-server-main.c b/rcm-server-main.c
index 5cb5ebe..31bfdb6 100644
--- a/rcm-server-main.c
+++ b/rcm-server-main.c
@@ -18,6 +18,7 @@
#include "rcm-server-keymap.h"
#include "rcm-server-evdev.h"
#include "rcm-server-lirc.h"
+#include "rcm-server-rcdev.h"
#include "rcm-server-kdb.h"
static struct rc_device *
@@ -882,7 +883,7 @@ free_manager(struct manager *mgr) {
while (!list_empty(&mgr->rc_devs)) {
struct rc_device *rcdev = list_first_entry(&mgr->rc_devs, typeof(*rcdev), list);
- rc_device_free(rcdev);
+ rcdev_free(rcdev);
}
free(mgr);
}