--- a/APSCpp/CamLens.c
+++ b/APSCpp/CamLens.c
@@ -148,6 +148,10 @@
 	default:
 		return 0;	// unsupported format
 	}
+}
+
+void CamLens_delete( pCamLens self ){
+	if( self ) free( self );
 }
 
 // create empty