summaryrefslogtreecommitdiffstats
path: root/example/pp-detach.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/pp-detach.c')
-rw-r--r--example/pp-detach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/pp-detach.c b/example/pp-detach.c
index 710886a..baee131 100644
--- a/example/pp-detach.c
+++ b/example/pp-detach.c
@@ -49,7 +49,7 @@ int main(int argc, char **argv)
mm_detach_req(dh, mme);
dect_event_loop();
- dect_common_cleanup(dh);
dect_mm_endpoint_destroy(dh, mme);
+ dect_common_cleanup(dh);
return 0;
}