summaryrefslogtreecommitdiff
path: root/backend/epub
diff options
context:
space:
mode:
Diffstat (limited to 'backend/epub')
-rw-r--r--backend/epub/epub-document.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/epub/epub-document.c b/backend/epub/epub-document.c
index ffdce89e..c8354d2d 100644
--- a/backend/epub/epub-document.c
+++ b/backend/epub/epub-document.c
@@ -1641,7 +1641,7 @@ static void
epub_document_add_mathJax(gchar* containeruri,gchar* documentdir)
{
gchar *containerfilename= g_filename_from_uri(containeruri,NULL,NULL);
- gchar *backenddir = ev_backends_manager_get_backends_dir();
+ const gchar *backenddir = ev_backends_manager_get_backends_dir();
GString *mathjaxdir = g_string_new(backenddir);
g_string_append_printf(mathjaxdir,"/epub/MathJax");
@@ -1675,7 +1675,6 @@ epub_document_add_mathJax(gchar* containeruri,gchar* documentdir)
item = item->next;
}
xml_free_doc();
- g_free(backenddir);
g_free(mathjaxref);
g_free(containerfilename);
g_free(nodedata);