1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

GCS/uavobjects: Change to addAutoReleasedObject()

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@333 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
ephy 2010-03-19 15:06:18 +00:00 committed by ephy
parent 2a6b764c4c
commit e16c51289c

View File

@ -47,7 +47,7 @@ bool UAVObjectsPlugin::initialize(const QStringList & arguments, QString * error
{
// Create object manager and expose object
UAVObjectManager* objMngr = new UAVObjectManager();
addObject(objMngr);
addAutoReleasedObject(objMngr);
// Initialize UAVObjects
UAVObjectsInitialize(objMngr);
// Done