[BRLTTY] brltty 3.7.2 seems to leak memory
Samuel Thibault
samuel.thibault at ens-lyon.org
Thu Mar 23 13:49:18 EST 2006
Dave Mielke, le Thu 23 Mar 2006 13:40:48 -0500, a écrit :
> [quoted lines by Samuel Thibault on 2006/03/23 at 18:40 +0100]
>
> >the PapenMeier seems to leak memory, probably while parsing the configuration
> >file,
>
> Please retest this with revision 2180.
Here are missing cleanups.
Regards,
Samuel
-------------- next part --------------
Index: BrailleDrivers/Papenmeier/braille.c
===================================================================
--- BrailleDrivers/Papenmeier/braille.c (révision 2180)
+++ BrailleDrivers/Papenmeier/braille.c (copie de travail)
@@ -1376,6 +1376,9 @@
{
unsupportedDevice(device);
+#ifdef ENABLE_PM_CONFIGURATION_FILE
+ deallocateTerminalTable();
+#endif /* ENABLE_PM_CONFIGURATION_FILE */
return 0;
}
@@ -1398,6 +1401,9 @@
++baud;
}
+#ifdef ENABLE_PM_CONFIGURATION_FILE
+ deallocateTerminalTable();
+#endif /* ENABLE_PM_CONFIGURATION_FILE */
return 0;
}
More information about the BRLTTY
mailing list