mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix another memory leak on uemis downloader
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
dbbf23ed51
commit
404cfec7dc
1 changed files with 1 additions and 1 deletions
|
@ -1177,7 +1177,7 @@ const char *do_uemis_import(device_data_t *data)
|
|||
* we mark the search sucessfull even if the dive has been deleted. */
|
||||
found = true;
|
||||
process_raw_buffer(data, deviceidnr, mbuf, &newmax, false, NULL);
|
||||
if (strstr(mbuf, strdup("deleted{bool{true")) == NULL) {
|
||||
if (strstr(mbuf, "deleted{bool{true") == NULL) {
|
||||
/* remember the last log file number as it is very likely that subsequent dives
|
||||
* have the same or higher logfile number.
|
||||
* UEMIS unfortunately deletes dives by deleting the dive details and not the logs. */
|
||||
|
|
Loading…
Add table
Reference in a new issue