diff options
Diffstat (limited to 'plugin/npshell.c')
-rw-r--r-- | plugin/npshell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/npshell.c b/plugin/npshell.c index d85739c..bb43da3 100644 --- a/plugin/npshell.c +++ b/plugin/npshell.c @@ -235,8 +235,8 @@ NPP_Destroy(NPP instance, NPSavedData** save G_GNUC_UNUSED) if (This != NULL) { (void) VirtViewerDestroyWindow (instance); - if (This->uri) free (This->uri); - if (This->name) free (This->name); + free (This->uri); + free (This->name); NPN_MemFree(instance->pdata); instance->pdata = NULL; } |