flash/nor/stm32: Eliminate working area leak
[fw/openocd] / src / flash / nor / faux.c
index 8198ef52143efbfcd81de5440c948b6116e4922e..46eda722334c4201a2f22711d75a131e2f7c70b8 100644 (file)
@@ -13,9 +13,7 @@
  *   GNU General Public License for more details.                          *
  *                                                                         *
  *   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.,                                       *
- *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.           *
+ *   along with this program.  If not, see <http://www.gnu.org/licenses/>. *
  ***************************************************************************/
 
 #ifdef HAVE_CONFIG_H
@@ -138,5 +136,6 @@ struct flash_driver faux_flash = {
        .auto_probe = faux_probe,
        .erase_check = default_flash_blank_check,
        .protect_check = faux_protect_check,
-       .info = faux_info
+       .info = faux_info,
+       .free_driver_priv = default_flash_free_driver_priv,
 };