Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Documentation fixes and revamp user guide
[ric-plt/lib/rmr.git]
/
test
/
rt_nano_static_test.c
diff --git
a/test/rt_nano_static_test.c
b/test/rt_nano_static_test.c
index
90cad7e
..
d56f01f
100644
(file)
--- a/
test/rt_nano_static_test.c
+++ b/
test/rt_nano_static_test.c
@@
-34,9
+34,11
@@
#include <errno.h>
#include <string.h>
#include <stdint.h>
#include <errno.h>
#include <string.h>
#include <stdint.h>
+#include <pthread.h>
+#include <semaphore.h>
-#include "
../src/common/include/
rmr.h"
-#include "
../src/common/include/
rmr_agnostic.h"
+#include "rmr.h"
+#include "rmr_agnostic.h"
typedef struct entry_info {
int group;
typedef struct entry_info {
int group;
@@
-229,7
+231,10
@@
static int rt_test( ) {
}
}
}
}
- uta_fib( "no-suhch-file" ); // drive some error checking for coverage
+ buf = uta_fib( "no-suhch-file" ); // drive some error checking for coverage
+ if( buf ) {
+ free( buf );
+ }
rt = uta_rt_init( ); // get us a route table
state = uta_link2( NULL );
rt = uta_rt_init( ); // get us a route table
state = uta_link2( NULL );