gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] [PATCH] Make the test_libgps program more useful by allow


From: Robert Norris
Subject: Re: [gpsd-dev] [PATCH] Make the test_libgps program more useful by allowing to specify the server and port.
Date: Sun, 21 Feb 2016 23:28:45 +0000

---------------------------------------
> To: address@hidden
> From: address@hidden
> Date: Sun, 21 Feb 2016 22:14:49 +0100
> Subject: Re: [gpsd-dev] [PATCH] Make the test_libgps program more useful by 
> allowing to specify the server and port.
>
> On 21.02.16 20:05, Robert Norris wrote:
>> + case 'f':
>> + forwardmode = true;
>> + fmsg = strdup(optarg);
>> + break;
>
> Should fmsg not be freed at the end?
>
> Beat
>
> --

It should be freed. Good spot.

Patch now with free() included for free!

                                          

Attachment: bine1pzxRfSrk.bin
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]