Skip to content

Commit fa13367

Browse files
committed
Free gpsmm instance
1 parent e592a56 commit fa13367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gpsd_client/src/client.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class GPSDClient {
9090
}
9191

9292
void stop() {
93-
// gpsmm doesn't have a close method? OK ...
93+
delete gps;
9494
}
9595

9696
private:

0 commit comments

Comments
 (0)