Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
19df03f0
Commit
19df03f0
authored
May 02, 2017
by
Sebastian Ramacher
Browse files
Fix memory leak
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
39b54cdd
Changes
1
Show whitespace changes
Inline
Side-by-side
zathura/zathura.c
View file @
19df03f0
...
...
@@ -880,6 +880,7 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
type
=
ZATHURA_FILEMONITOR_SIGNAL
;
}
#endif
g_free
(
filemonitor_backend
);
zathura
->
file_monitor
.
monitor
=
zathura_filemonitor_new
(
file_path
,
type
);
if
(
zathura
->
file_monitor
.
monitor
==
NULL
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment