summaryrefslogtreecommitdiff
path: root/src/transform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transform.h')
-rw-r--r--src/transform.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/transform.h b/src/transform.h
index 1a5286a1..d54ab499 100644
--- a/src/transform.h
+++ b/src/transform.h
@@ -113,10 +113,7 @@ class select_transform : public transform_t
select_transform(const string& selection_path) {
xpath.parse(selection_path);
}
- virtual ~select_transform() {
- if (path)
- delete path;
- }
+ virtual ~select_transform() {}
virtual void execute(xml::document_t * document);
};