diff --git a/include/ACGL/Animations/Animation.hh b/include/ACGL/Animations/Animation.hh
index 5d77cc0c0de7ca5764e197670ef4a2d29bb6fd30..427eaae8c02590890f39ddb235b75e640d0c1241 100644
--- a/include/ACGL/Animations/Animation.hh
+++ b/include/ACGL/Animations/Animation.hh
@@ -27,8 +27,8 @@ public:
 
     Animation() :
         mInited(false),
-        mStopped(false) {};
-    virtual ~Animation() {};
+        mStopped(false) {}
+    virtual ~Animation() {}
 
     virtual void init() = 0;
     virtual long update(uint_t msec) = 0;
diff --git a/include/ACGL/OpenGL/Data/TextureData.hh b/include/ACGL/OpenGL/Data/TextureData.hh
index db108f3d5a30a382b01a9e3b71776c825d0db4bd..d3354908883468668e67bd2a70c0442194f7ce55 100644
--- a/include/ACGL/OpenGL/Data/TextureData.hh
+++ b/include/ACGL/OpenGL/Data/TextureData.hh
@@ -101,6 +101,9 @@ public:
     void setPadding(GLsizei _padding){ paddingBytesPerRow = _padding; }
     void setSize  (const glm::uvec3 &_size) { width  = _size.x; height = _size.y; depth = _size.z; }
 
+    //! deletes the data attached to this object
+    void deleteData() { delete[] pData; pData = NULL; }
+
     // ========================================================================================================= \/
     // ================================================================================================== FIELDS \/
     // ========================================================================================================= \/