aboutsummaryrefslogtreecommitdiff
path: root/src/modules/uORB
diff options
context:
space:
mode:
authorLorenz Meier <lorenz@px4.io>2015-01-20 12:24:42 +0100
committerLorenz Meier <lorenz@px4.io>2015-01-20 12:24:42 +0100
commitf3dcde39935766626155be70a88a89f4962af30a (patch)
treee8b8783ef0ecd64a1a321dad25d6078caf3d8eb9 /src/modules/uORB
parent9b10395e94497ef16c99390460808409e08d468f (diff)
parent65915e5d01cd0b1b8aed95c827a4886f3a57e545 (diff)
downloadpx4-firmware-f3dcde39935766626155be70a88a89f4962af30a.tar.gz
px4-firmware-f3dcde39935766626155be70a88a89f4962af30a.tar.bz2
px4-firmware-f3dcde39935766626155be70a88a89f4962af30a.zip
Merge pull request #1671 from PX4/ekf_fix
Critical coverity fixes.
Diffstat (limited to 'src/modules/uORB')
-rw-r--r--src/modules/uORB/uORB.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/uORB/uORB.cpp b/src/modules/uORB/uORB.cpp
index 149b8f6d2..cc6617aea 100644
--- a/src/modules/uORB/uORB.cpp
+++ b/src/modules/uORB/uORB.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
*
- * Copyright (C) 2012 PX4 Development Team. All rights reserved.
+ * Copyright (Cc) 2012-2015 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -230,7 +230,7 @@ ORBDevNode::open(struct file *filp)
ret = CDev::open(filp);
if (ret != OK)
- free(sd);
+ delete sd;
return ret;
}