mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:03:48 +01:00
Fix memory leak
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
39b54cddb3
commit
19df03f0ff
@ -880,6 +880,7 @@ document_open(zathura_t* zathura, const char* path, const char* uri, const char*
|
|||||||
type = ZATHURA_FILEMONITOR_SIGNAL;
|
type = ZATHURA_FILEMONITOR_SIGNAL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
g_free(filemonitor_backend);
|
||||||
|
|
||||||
zathura->file_monitor.monitor = zathura_filemonitor_new(file_path, type);
|
zathura->file_monitor.monitor = zathura_filemonitor_new(file_path, type);
|
||||||
if (zathura->file_monitor.monitor == NULL) {
|
if (zathura->file_monitor.monitor == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user