diff --git a/engine/modules/path.c b/engine/modules/path.c
index acc9177..ced5e55 100644
|
a
|
b
|
LIST * path_exists( FRAME * frame, int flags )
|
| 15 | 15 | { |
| 16 | 16 | timestamp time; |
| 17 | 17 | timestamp_from_path( &time, list_front( lol_get( frame->args, 0 ) ) ); |
| 18 | | return timestamp_empty( &time ) ? L0 : list_new( constant_true ); |
| | 18 | return timestamp_empty( &time ) ? L0 : list_new( object_copy( constant_true ) ); |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | 21 | |
diff --git a/engine/pathnt.c b/engine/pathnt.c
index fb8c767..a42f870 100644
|
a
|
b
|
static path_key_entry * path_key( OBJECT * const path,
|
| 216 | 216 | OBJECT * normalized; |
| 217 | 217 | int normalized_size; |
| 218 | 218 | path_key_entry * nresult; |
| 219 | | result->path = path; |
| | 219 | result->path = object_copy( path ); |
| 220 | 220 | { |
| 221 | 221 | string buf[ 1 ]; |
| 222 | 222 | string_copy( buf, object_str( path ) ); |