diff --git a/src/servers/media_addon/main.cpp b/src/servers/media_addon/main.cpp index 15db996092..675c5f0ddf 100644 --- a/src/servers/media_addon/main.cpp +++ b/src/servers/media_addon/main.cpp @@ -797,6 +797,7 @@ main() { new MediaAddonServer(B_MEDIA_ADDON_SERVER_SIGNATURE); be_app->Run(); + delete be_app; return 0; }