Changeset c2969f9 for help.c


Ignore:
Timestamp:
2015-10-08T04:58:59Z (4 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
df215a3
Parents:
3cbf71d
git-author:
dequis <dx@…> (16-09-15 06:36:48)
git-committer:
dequis <dx@…> (08-10-15 04:58:59)
Message:

conf, help: Fix minor leaks in error conditions

From coverity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • help.c

    r3cbf71d rc2969f9  
    146146                        if (lseek(h->fd, h->offset.file_offset, SEEK_SET) == -1 ||
    147147                            read(h->fd, s, h->length) != h->length) {
     148                                g_free(s);
    148149                                return NULL;
    149150                        }
Note: See TracChangeset for help on using the changeset viewer.