summaryrefslogtreecommitdiff
path: root/src/qtwaylandscanner
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtwaylandscanner')
-rw-r--r--src/qtwaylandscanner/qtwaylandscanner.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qtwaylandscanner/qtwaylandscanner.cpp b/src/qtwaylandscanner/qtwaylandscanner.cpp
index c08c00f4..ec1341e8 100644
--- a/src/qtwaylandscanner/qtwaylandscanner.cpp
+++ b/src/qtwaylandscanner/qtwaylandscanner.cpp
@@ -772,9 +772,6 @@ bool Scanner::process()
printf(" that->m_resource_map.remove(resource->client(), resource);\n");
printf(" that->%s_destroy_resource(resource);\n", interfaceNameStripped);
printf(" delete resource;\n");
- printf("#if !WAYLAND_VERSION_CHECK(1, 2, 0)\n");
- printf(" free(client_resource);\n");
- printf("#endif\n");
printf(" }\n");
printf("\n");