Hi,
On Thu, Oct 20, 2011 at 01:05:28PM +1000, Peter Hutterer wrote:
> Use the same struct for both InputOption and XF86OptionRec so we don't need
> to convert to and fro the two in the config backends.
>
> Signed-off-by: Peter Hutterer <[email protected]>
> Reviewed-by: Dan Nicholson <[email protected]>
> @@ -670,8 +671,8 @@ point_on_screen(ScreenPtr pScreen, int x, int y)
> static void
> input_option_free(InputOption *o)
> {
> - free(o->key);
> - free(o->value);
> + free(o->opt_name);
> + free(o->opt_val);
> free(o);
> }
+ free(o->opt_comment);
With that:
Reviewed-by: Daniel Stone <[email protected]>
Cheers,
Daniel
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel