Changes in help.c [e6f47fb:42a418e]
Legend:
- Unmodified
- Added
- Removed
-
help.c
re6f47fb r42a418e 105 105 h = *help; 106 106 while (h) { 107 if (h->fd != last_fd) { 107 if (h->fd == -1) { 108 g_free(h->offset.mem_offset); 109 } else if (h->fd != last_fd) { 108 110 close(h->fd); 109 111 last_fd = h->fd; … … 146 148 if (lseek(h->fd, h->offset.file_offset, SEEK_SET) == -1 || 147 149 read(h->fd, s, h->length) != h->length) { 150 g_free(s); 148 151 return NULL; 149 152 }
Note: See TracChangeset
for help on using the changeset viewer.