diff options
author | LRN <lrn1986@gmail.com> | 2013-12-19 06:00:23 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-12-19 06:00:23 +0000 |
commit | e0ca7357cd0bfedc5c29cb731b56279fef8da059 (patch) | |
tree | ecfd47cf59bc00e656b53fd59c58f5038e342d65 /src/mesh/mesh_path.c | |
parent | 92fd84dc7ef98452f848a62677c61a2b80b5835e (diff) | |
download | gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.tar.gz gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.zip |
malloc -> new
Diffstat (limited to 'src/mesh/mesh_path.c')
-rw-r--r-- | src/mesh/mesh_path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/mesh_path.c b/src/mesh/mesh_path.c index f1c68c005..ad1f7f4db 100644 --- a/src/mesh/mesh_path.c +++ b/src/mesh/mesh_path.c | |||
@@ -60,7 +60,7 @@ path_new (unsigned int length) | |||
60 | { | 60 | { |
61 | struct MeshPeerPath *p; | 61 | struct MeshPeerPath *p; |
62 | 62 | ||
63 | p = GNUNET_malloc (sizeof (struct MeshPeerPath)); | 63 | p = GNUNET_new (struct MeshPeerPath); |
64 | if (length > 0) | 64 | if (length > 0) |
65 | { | 65 | { |
66 | p->length = length; | 66 | p->length = length; |