stlink: avoid null pointer dereference in stlink_usb_close()
[fw/openocd] / src / target / algorithm.c
index 76cf48bc589ffec25651ea9d56017518ae3d609a..aa8262a6e0de4407950c81765b4ef26cda1b0eaf 100644 (file)
  *   You should have received a copy of the GNU General Public License     *
  *   along with this program; if not, write to the                         *
  *   Free Software Foundation, Inc.,                                       *
- *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.           *
  ***************************************************************************/
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
 #include "algorithm.h"
-#include "binarybuffer.h"
-
+#include <helper/binarybuffer.h>
 
 void init_mem_param(struct mem_param *param, uint32_t address, uint32_t size, enum param_direction direction)
 {