Skip to content

Commit

Permalink
fix leak in jeeps serial comm on posix. (#1223)
Browse files Browse the repository at this point in the history
see #1221
  • Loading branch information
tsteven4 authored Nov 16, 2023
1 parent 9abb5be commit 1d74ab7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jeeps/gpsserial.cc
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ int32_t GPS_Serial_Off(gpsdevh* dh)
gps_errno = HARDWARE_ERROR;
return 0;
}
xfree(dh);
return 1;
}

Expand Down

0 comments on commit 1d74ab7

Please sign in to comment.