Commit 1c29736bb9236c7d4396cdd097878f7042528602
Fix crash/leak on processing of background jobs
Thanks to Christian Fillion (a.k.a. cfillion).
Closes #101 on GitHub.
Author: xaizek
Author date (UTC): 2015-07-09 13:24
Committer name: xaizek
Committer date (UTC): 2015-07-09 13:25
Parent(s): cbf55b0a70270b5c489058cbb5bbe211e6e4454d
Signing key:
Tree: ffb58710bc46cf5203a1bf9971a0f3edeeb052dc
File ChangeLog changed (mode: 100644) (index cf3bed22d..aaffe56fb) |
91 |
91 |
Fixed infinite loop or crash on empty match on search in view mode (e.g. |
Fixed infinite loop or crash on empty match on search in view mode (e.g. |
92 |
92 |
on /$). |
on /$). |
93 |
93 |
|
|
|
94 |
|
Fixed crash/leak on processing of background jobs. Thanks to Christian |
|
95 |
|
Fillion (a.k.a. cfillion). |
|
96 |
|
|
94 |
97 |
0.7.8 to 0.8-beta |
0.7.8 to 0.8-beta |
95 |
98 |
|
|
96 |
99 |
Removed per-view last search pattern. Don't worry, you probably won't |
Removed per-view last search pattern. Don't worry, you probably won't |
File src/background.c changed (mode: 100644) (index 68d849761..1f4ac2cdc) |
... |
... |
job_free(job_t *const job) |
266 |
266 |
return; |
return; |
267 |
267 |
} |
} |
268 |
268 |
|
|
269 |
|
if(job->type == BJT_COMMAND) |
|
|
269 |
|
if(job->type != BJT_COMMAND) |
270 |
270 |
{ |
{ |
271 |
271 |
pthread_mutex_destroy(&job->bg_op_guard); |
pthread_mutex_destroy(&job->bg_op_guard); |
272 |
272 |
} |
} |