summaryrefslogtreecommitdiff
path: root/src/core/swap.c
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2013-03-06 19:28:55 +0100
committerMichal Schmidt <mschmidt@redhat.com>2013-03-08 10:58:51 +0100
commit180d6802e585e8a2826b76872438641b73e3fa6f (patch)
tree253d20cf0ffa84bb66f6c73ea449f102453d13d4 /src/core/swap.c
parenta740c14c59907f370a6b3a3ba5a86fada88cb07e (diff)
path: avoid an allocation in path_spec_watch
No need for strdup. We can slice the path in place if we always undo it afterwards.
Diffstat (limited to 'src/core/swap.c')
0 files changed, 0 insertions, 0 deletions