/*
- * Copyright 2006, The Android Open Source Project
+ * DLOG
+ * Copyright (c) 2005-2008, The Android Open Source Project
+ * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
*
- * Licensed under the Apache License, Version 2.0 (the "License");
+ * Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
/**
- * Splits a wire-format buffer into an AndroidLogEntry
+ * Splits a wire-format buffer into an LogEntry
* entry allocated by caller. Pointers will point directly into buf
*
* Returns 0 on success and -1 on invalid wire format (entry will be
err = log_add_filter_string(p_format, "*:s random:z");
assert(err < 0);
+ log_format_free(p_format);
+
#if 0
char *ret;