freebsd-ports/palm/jpilot/files/patch-0.99.8-memory
Andrey Slusar ca182222c0 - Add patch to fix a memory problem resulting in a segfault when
modifying records. (jpilot.org)
- Add patch to fix unresolved symbol glob_tooltips when using
  jpilot-sync (jpilot.org)
- Take mainteinership.

PR:		ports/98956
Submitted by:	"Alex Samorukov" <samm@os2.kiev.ua>
2006-06-15 18:12:56 +00:00

12 lines
438 B
Text

--- utils.c.orig 2005-12-11 13:04:24.000000000 -0500
+++ utils.c 2005-12-11 13:04:38.000000000 -0500
@@ -2042,9 +2042,6 @@
fwrite(RecordBuffer->data, header.rec_len, 1, pc_in);
#endif /* PILOT_LINK_0_12 */
jp_logf(JP_LOG_DEBUG, "record deleted\n");
-#ifdef PILOT_LINK_0_12
- pi_buffer_free(RecordBuffer);
-#endif /* PILOT_LINK_0_12 */
fclose(pc_in);
#ifdef PILOT_LINK_0_12
pi_buffer_free(RecordBuffer);