tolerate additional IPv4 address now available for gnunet.org
[oweals/gnunet.git] / src / util / common_allocation.c
index fc7953df2e9ebe4d77bca6f586b20f1f18072753..20333ce560e61ece8b85881b924eb4fb25e38d84 100644 (file)
@@ -14,6 +14,8 @@
     
      You should have received a copy of the GNU Affero General Public License
      along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+     SPDX-License-Identifier: AGPL3.0-or-later
 */
 
 /**
@@ -486,7 +488,6 @@ GNUNET_asprintf (char **buf,
   *buf = GNUNET_malloc (ret + 1);
   va_start (args, format);
   ret = VSPRINTF (*buf, format, args);
-  GNUNET_free (buf);
   va_end (args);
   return ret;
 }