aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts_deallocate_encoding_mapping_entry_index_to_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'libfonts_deallocate_encoding_mapping_entry_index_to_name.c')
-rw-r--r--libfonts_deallocate_encoding_mapping_entry_index_to_name.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/libfonts_deallocate_encoding_mapping_entry_index_to_name.c b/libfonts_deallocate_encoding_mapping_entry_index_to_name.c
new file mode 100644
index 0000000..ebabbf2
--- /dev/null
+++ b/libfonts_deallocate_encoding_mapping_entry_index_to_name.c
@@ -0,0 +1,26 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+#ifndef TEST
+
+
+void
+libfonts_deallocate_encoding_mapping_entry_index_to_name(struct libfonts_encoding_mapping_entry_index_to_name *this)
+{
+ if (this) {
+ free(this->target);
+ this->target = NULL;
+ }
+}
+
+
+#else
+
+
+int
+main(void)
+{
+ return 0; /* XXX add test */
+}
+
+
+#endif