Revision 679f4e26

View differences:

scout/libscout/src/BehaviorProcess.cpp
67 67
        {
68 68
            Behavior* b = behavior_list[behavior_num](scoutname, sensors);
69 69
            b->run();
70
            delete b;
70 71
        }
71 72
        else
72 73
        {
......
76 77
        }
77 78

  
78 79
        delete list;
80
        delete sensors;
79 81
    }
80 82

  
81 83
    return 0;

Also available in: Unified diff