Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--browser-plugin/glue.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/browser-plugin/glue.cpp b/browser-plugin/glue.cpp
index f63fb9e..0b989d4 100644
--- a/browser-plugin/glue.cpp
+++ b/browser-plugin/glue.cpp
@@ -47,11 +47,8 @@ InitEvince (void)
/* Keep libevview in memory. NPPVpluginKeepLibraryInMemory is broken.
See https://bugzilla.mozilla.org/show_bug.cgi?id=359870 */
- char *file_name = g_strconcat ("libevview", "." G_MODULE_SUFFIX "."
- EV_BINARY_VERSION, NULL);
- GModule *module = g_module_open (file_name, (GModuleFlags)0);
- g_free (file_name);
-
+ GModule *module = g_module_open ("libevview." G_MODULE_SUFFIX "."
+ EV_BINARY_VERSION, (GModuleFlags)0);
if (module != NULL) {
g_module_make_resident (module);
g_module_close (module);